Class: TopoJSON

TopoJSON

experimental new ol.format.TopoJSON(opt_options)

Name Type Argument Description
options optional

Options.

Name Type Description
defaultProjection ol.proj.ProjectionLike

Default projection.

Extends

Methods

experimental readFeatures(source){Array.<ol.Feature>}

Read all features from a TopoJSON source.

Name Type Description
source ArrayBuffer | Document | Node | Object | string

Source.

experimental readProjection(object){ol.proj.Projection}

Read the projection from a TopoJSON source.

Name Type Description
object ArrayBuffer | Document | Node | Object | string

Source.