GmlWriter class

A static class that writes GML data.

Methods

write(azmaps.data.Geometry | azmaps.data.Feature<azmaps.data.Geometry, any> | azmaps.data.FeatureCollection | SpatialDataSet, GmlWriteOptions, boolean)

Writes a GeoJSON Geometry object as a GML formatted string.

Method Details

write(azmaps.data.Geometry | azmaps.data.Feature<azmaps.data.Geometry, any> | azmaps.data.FeatureCollection | SpatialDataSet, GmlWriteOptions, boolean)

Writes a GeoJSON Geometry object as a GML formatted string.

static function write(shape: azmaps.data.Geometry | azmaps.data.Feature<azmaps.data.Geometry, any> | azmaps.data.FeatureCollection | SpatialDataSet, options?: GmlWriteOptions, addEncodingTag?: boolean): string

Parameters

shape

azmaps.data.Geometry | azmaps.data.Feature<azmaps.data.Geometry, any> | azmaps.data.FeatureCollection | SpatialDataSet

GeoJSON Geometry object to write.

options
GmlWriteOptions

Write options.

addEncodingTag

boolean

Returns

string