new ol.format.TopoJSON(opt_options)
src/ol/format/topojson.js, line 26
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
options |
Options.
|
|||||||
Extends
Methods
-
Read all features from a TopoJSON source.
Name Type Description sourceDocument | Node | Object | string Source.
Returns:
Features.
-
Read the projection from a TopoJSON source.
Name Type Description objectDocument | Node | Object | string Source.
Returns:
Projection.
OpenLayers 3