new ol.format.TopoJSON(opt_options)
src/ol/format/topojsonformat.js, line 26
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
options |
Options.
|
|||||||
Extends
Methods
-
readFeatures(source){Array.<ol.Feature>}
src/ol/format/topojsonformat.js, line 280 -
Read all features from a TopoJSON source.
Name Type Description sourceDocument | Node | Object | string Source.
Returns:
Features.
-
readProjection(object){ol.proj.Projection}
src/ol/format/topojsonformat.js, line 390 -
Read the projection from a TopoJSON source.
Name Type Description objectDocument | Node | Object | string Source.
Returns:
Projection.
OpenLayers 3