new GeoJSON(options, vendorOptions)
impl/ol/layer/GeoJSON.js, line 28
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/GeoJSON.js, line 96 -
This function sets the map object of the layer
Name Type Description map
M.impl.Map -
equals()
impl/ol/layer/GeoJSON.js, line 259 -
This function checks if an object is equals to this layer
-
isLoaded()
impl/ol/layer/GeoJSON.js, line 248 -
TODO
-
recreateOlLayer()
impl/ol/layer/GeoJSON.js, line 142 -
Updates the layer with the new URL
-
refresh(map)
impl/ol/layer/GeoJSON.js, line 114 -
This function sets the map object of the layer
Name Type Description map
M.Map -
setSource(map)
impl/ol/layer/GeoJSON.js, line 169 -
This function sets the map object of the layer
Name Type Description map
M.Map -
setURL()
impl/ol/layer/GeoJSON.js, line 156 -
Sets the url of the layer