experimental new ol.source.WMTS(options)
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
WMTS options.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
Fires:
-
change
Extends
Methods
-
experimental staticol.source.WMTS.optionsFromCapabilities(wmtsCap, layer){olx.source.WMTSOptions}
-
Name Type Description wmtsCapObject An object representing the capabilities document.
layerstring The layer identifier.
Returns:
source options object.
-
experimental inherited dispatchChangeEvent()
-
Dispatches a
changeevent. Register a listener for this event to get notified of changes.Fires:
-
change
-
-
experimental getDimensions(){Object}
-
Get the dimensions, i.e. those passed to the constructor through the "dimensions" option, and possibly updated using the updateDimensions method.
-
experimental inherited getState(){ol.source.State}
-
-
experimental inherited getTileGrid(){ol.tilegrid.TileGrid}
-
Returns:
grid.
-
experimental inherited on(type, listener, opt_this){goog.events.Key}
-
Listen for a certain type of event.
Name Type Argument Description typestring | Array.<string> The event type or array of event types.
listenerfunction The listener function.
thisObject <optional>
optional The object to use as
thisinlistener.Returns:
key for the listener.
-
experimental inherited once(type, listener, opt_this){goog.events.Key}
-
Listen once for a certain type of event.
Name Type Argument Description typestring | Array.<string> The event type or array of event types.
listenerfunction The listener function.
thisObject <optional>
optional The object to use as
thisinlistener.Returns:
key for the listener.
-
experimental inherited un(type, listener, opt_this)
-
Unlisten for a certain type of event.
Name Type Argument Description typestring | Array.<string> The event type or array of event types.
listenerfunction The listener function.
thisObject <optional>
optional The object to use as
thisinlistener. -
experimental inherited unByKey(key)
-
Removes an event listener using the key returned by
on()oronce().Name Type Description keygoog.events.Key Key.
-
experimental updateDimensions(dimensions)
-
Update the dimensions.
Name Type Description dimensionsObject Dimensions.
OpenLayers 3