ol.parser. ol.parser.TopoJSON

new TopoJSON

Source:
  • topojson.js, line 24

Methods

<static> read

Parse a TopoJSON string.

Parameters:
Name Type Description
str string

TopoJSON string.

Source:
  • topojson.js, line 439
Returns:

Array of features.

Type
Array.<ol.Feature>

read

Parse a TopoJSON string.

Parameters:
Name Type Description
str string

TopoJSON string.

Source:
  • topojson.js, line 75
Returns:

Array of features.

Type
Array.<ol.Feature>