new WMS(options, vendorOptions)
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/WMS.js, line 208 -
This function sets the map object of the layer
Name Type Description map
M.impl.Map -
destroy()
impl/ol/layer/WMS.js, line 783 -
This function destroys this layer, cleaning the HTML and unregistering all events
-
equals()
impl/ol/layer/WMS.js, line 803 -
This function checks if an object is equals to this layer
-
getCapabilities()
impl/ol/layer/WMS.js, line 608 -
This function destroys this layer, cleaning the HTML and unregistering all events
-
getExtent()
impl/ol/layer/WMS.js, line 489 -
This function gets the envolved extent for this WMS
-
getExtentFromCapabilities()
impl/ol/layer/WMS.js, line 730 -
TODO
-
getLayers()
impl/ol/layer/WMS.js, line 596 -
This function gets the layers loaded from this WMS FULL
-
getLegendCapabilities(){Promise}
impl/ol/layer/WMS.js, line 649 -
This funcion returns the URL of the legend of GetCapabilities
Returns:
url WMS equivalen service for this layer.
-
getLegendURL()
impl/ol/layer/WMS.js, line 676 -
This function destroys this layer, cleaning the HTML and unregistering all events
-
getMaxResolution()
impl/ol/layer/WMS.js, line 529 -
This function gets the max resolution for this WMS
-
getMinResolution()
impl/ol/layer/WMS.js, line 517 -
This function gets the min resolution for this WMS
-
getNumZoomLevels()
impl/ol/layer/WMS.js, line 584 -
This function gets the max resolution for this WMS
-
getStyles()
impl/ol/layer/WMS.js, line 754 -
This function returns the styles of the layer
-
isQueryable()
impl/ol/layer/WMS.js, line 196 -
This function indicates if the layer is queryable
-
recreateOlLayer()
impl/ol/layer/WMS.js, line 715 -
Removes and creates the ol3layer
-
refresh()
impl/ol/layer/WMS.js, line 700 -
This function refreshes the state of this layer
-
setFacadeObj(obj)
impl/ol/layer/WMS.js, line 743 -
This function set facade class WMS
Name Type Description obj
object Facade layer
-
setLegendURL()
impl/ol/layer/WMS.js, line 687 -
TODO
-
setName()
impl/ol/layer/WMS.js, line 476 -
Sets the name of the layer
-
setResolutions(resolutions)
impl/ol/layer/WMS.js, line 248 -
This function sets the resolutions for this layer
Name Type Description resolutions
Array.<Number> -
setStyles(styles)
impl/ol/layer/WMS.js, line 768 -
This function applies styles to the layer
Name Type Description styles
string | Array style name
-
setTileLoadFunction()
impl/ol/layer/WMS.js, line 453 -
This function sets the tileLoadFunction
-
setURL()
impl/ol/layer/WMS.js, line 464 -
Sets the url of the layer
-
setVisible()
impl/ol/layer/WMS.js, line 162 -
This function sets the visibility of this layer
-
updateMinMaxResolution(projection)
impl/ol/layer/WMS.js, line 541 -
Update minimum and maximum resolution WMS layers
Name Type Description projection
ol.Projection Projection map