new ol.format.TopoJSON(opt_options) experimental
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
options |
optional
Options.
|
|||||||
Extends
Methods
-
readFeatures(source){Array.<ol.Feature>} experimental
-
Read all features from a TopoJSON source.
Name Type Description sourceArrayBuffer | Document | Node | Object | string Source.
Returns:
Features.
-
readProjection(object){ol.proj.Projection} experimental
-
Read the projection from a TopoJSON source.
Name Type Description objectArrayBuffer | Document | Node | Object | string Source.
Returns:
Projection.
OpenLayers 3