new Draw(options)
impl/ol/layer/Draw.js, line 35
Name | Type | Description |
---|---|---|
options |
Mx.parameters.LayerOptions |
custom options for this layer |
Methods
-
addTo(map)
impl/ol/layer/Draw.js, line 70 -
This function sets the map object of the layer
Name Type Description map
M.impl.Map -
destroy()
impl/ol/layer/Draw.js, line 273 -
This function destroys this layer, cleaning the HTML and unregistering all events
-
drawFeatures(coordinate)
impl/ol/layer/Draw.js, line 202 -
This function checks if an object is equals to this layer
Name Type Description coordinate
Array.<Mx.Point> -
drawGeoJSON(coordinate)
impl/ol/layer/Draw.js, line 169 -
This function checks if an object is equals to this layer
Name Type Description coordinate
Array.<Mx.Point> -
drawPoints(coordinate)
impl/ol/layer/Draw.js, line 147 -
This function checks if an object is equals to this layer
Name Type Description coordinate
Array.<Mx.Point> -
equals()
impl/ol/layer/Draw.js, line 291 -
This function checks if an object is equals to this layer
-
getPoints(coordinate)
impl/ol/layer/Draw.js, line 252 -
This function checks if an object is equals to this layer
Name Type Description coordinate
ol.Coordinate -
removeFeatures(coordinate)
impl/ol/layer/Draw.js, line 222 -
This function checks if an object is equals to this layer
Name Type Description coordinate
Array.<Mx.Point> -
selectFeatures(feature)
impl/ol/layer/Draw.js, line 113 -
This function checks if an object is equals to this layer
Name Type Description feature
ol.Feature -
unselectFeatures(feature)
impl/ol/layer/Draw.js, line 131 -
This function checks if an object is equals to this layer
Name Type Description feature
ol.Feature