new ol.format.OSMXML() experimental
Extends
Methods
-
readFeatures(source){Array.<ol.Feature>} experimental
-
Read all features from an OSM source.
Name Type Description sourceArrayBuffer | Document | Node | Object | string Source.
Returns:
Features.
-
readProjection(source){ol.proj.Projection} experimental
-
Read the projection from an OSM source.
Name Type Description sourceArrayBuffer | Document | Node | Object | string Source.
Returns:
Projection.
OpenLayers 3