new TopoJSON
Stability: experimental
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
options |
olx.format.TopoJSONOptions |
<optional> |
Options. |
- Source:
- topojsonformat.js, line 24
Extends
- ol.format.JSONFeature
Methods
-
readFeatures
Stability: not documented -
Read all features from a TopoJSON source.
Parameters:
Name Type Description sourceArrayBuffer | Document | Node | Object | string Source.
- Source:
- topojsonformat.js, line 275
Returns:
Features.
- Type
- Array.<ol.Feature>
-
readProjection
Stability: not documented -
Read the projection from a TopoJSON source.
Parameters:
Name Type Description objectArrayBuffer | Document | Node | Object | string Source.
- Source:
- topojsonformat.js, line 384
Returns:
Projection.
- Type
- ol.proj.Projection
OpenLayers 3