new KML(options, vendorOptions)
impl/ol/layer/KML.js, line 33
Name | Type | Description |
---|---|---|
options |
Mx.parameters.LayerOptions |
custom options for this layer |
vendorOptions |
Object |
vendor options for the base library |
Methods
-
addTo(map)
impl/ol/layer/KML.js, line 104 -
This function sets the map object of the layer
Name Type Description map
M.impl.Map -
destroy()
impl/ol/layer/KML.js, line 277 -
This function destroys this layer, cleaning the HTML and unregistering all events
-
equals()
impl/ol/layer/KML.js, line 330 -
This function checks if an object is equals to this layer
-
recreateOlLayer()
impl/ol/layer/KML.js, line 193 -
Removes and creates the ol3layer
-
removePopup()
impl/ol/layer/KML.js, line 297 -
This function destroys KML popup
-
selectFeatures(feature)
impl/ol/layer/KML.js, line 135 -
This function checks if an object is equals to this layer
Name Type Description feature
ol.Feature -
setScreenOverlayImg()
impl/ol/layer/KML.js, line 265 -
Sets the screen overlay image for this KML
-
setURL()
impl/ol/layer/KML.js, line 253 -
Sets the url of the layer
-
setVisible()
impl/ol/layer/KML.js, line 78 -
This function sets the visibility of this layer
-
unselectFeatures(feature)
impl/ol/layer/KML.js, line 178 -
This function checks if an object is equals to this layer
Name Type Description feature
ol.Feature