ol.parser. ol.parser.TopoJSON

new TopoJSON

Read TopoJSON

Source:
  • topojson.js, line 26

Methods

<static> read

Parse a TopoJSON string.

Parameters:
Name Type Description
str string

TopoJSON string.

Source:
  • topojson.js, line 441
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 77
Returns:

Array of features.

Type
Array.<ol.Feature>