OptionalapiKey?: stringAccess key to Geoportal platform
Optionalconfiguration?: anyconfiguration (cf. example)
Optionaldescription?: stringdescription of the layer
Layer name (e.g. "ORTHOIMAGERY.ORTHOPHOTOS")
Optionallegends?: any[]Legends objects associated to the layer
Optionalmetadata?: any[]Metadata objects associated to the layer
OptionalolParams?: anyother options for ol.source.TileWMS function (see ol.source.TileWMS)
OptionalquicklookUrl?: stringquicklookUrl of the layer
Optionalssl?: booleanif set true, enforce protocol https (only for nodejs)
Optionaltitle?: stringtitle of the layer
ProtectedcrossProtecteddisposedThe object has already been disposed.
This source is currently loading data. Sources that defer loading to the
map's tile queue never set this to true.
ProtectedprojectionProtectedtileProtectedtileProtectedtileProtectedtileProtectedtileProtectedtmpProtectedurlsProtectedviewProtectedviewzDirection hint, read by the renderer. Indicates which resolution should be used by a renderer if the views resolution does not match any resolution of the tile source. If 0, the nearest resolution will be used. If 1, the nearest lower resolution will be used. If -1, the nearest higher resolution will be used.
Key name.
Listener.
Type.
Listener.
ProtectedapplyProtectedApply any properties from another object without triggering events.
The source object.
Dispatches an event and calls all listeners listening for events
of this type. The event parameter can either be a string or an
Object with a type property.
Event object.
false if anyone called preventDefault on the
event object or if any of the listeners returned false.
Clean up.
ProtecteddisposeProtectedExtension point for disposable objects.
Return the GetFeatureInfo URL for the passed coordinate, resolution, and
projection. Return undefined if the GetFeatureInfo URL cannot be
constructed.
Coordinate.
Resolution.
Projection.
GetFeatureInfo params. INFO_FORMAT at least should
be provided. If QUERY_LAYERS is not provided then the layers specified
in the LAYERS parameter will be used. VERSION should not be
specified here.
GetFeatureInfo URL.
Gutter.
Projection.
Gutter.
Use linear interpolation when resampling.
Return the key to be used for all tiles in the source.
The key for all tiles.
Return the GetLegendGraphic URL, optionally optimized for the passed
resolution and possibly including any passed specific parameters. Returns
undefined if the GetLegendGraphic URL cannot be constructed.
Optionalresolution: numberResolution. If set to undefined, SCALE
will not be calculated and included in URL.
Optionalparams: anyGetLegendGraphic params. If LAYER is set, the
request is generated for this wms layer, else it will try to use the
configured wms layer. Default FORMAT is image/png.
VERSION should not be specified here.
GetLegendGraphic URL.
Get the listeners for a specified event type. Listeners are returned in the order that they will be called in.
Type.
Listeners.
Get an object of all property names and values.
Object.
Optionalprojection: ProjectionProjection.
Resolutions.
Tile coordinate z.
Tile coordinate x.
Tile coordinate y.
Pixel ratio.
Projection.
Tile.
Returns a tile coordinate wrapped around the x-axis. When the tile coordinate
is outside the resolution and extent range of the tile grid, null will be
returned.
Tile coordinate.
Optionalprojection: ProjectionProjection.
Tile coordinate to be passed to the tileUrlFunction or
null if no tile URL should be created for the passed tileCoord.
Projection.
Tile grid.
ProtectedgetGet the tile pixel ratio for this source. Subclasses may override this
method, which is meant to return a supported pixel ratio that matches the
provided pixelRatio as close as possible.
Pixel ratio.
Tile pixel ratio.
Z.
Pixel ratio.
Projection.
Tile size.
A promise for view-related properties.
Wrap X.
ProtectedhandleProtectedHandle tile change events.
Event.
Optionaltype: stringType. If not provided,
true will be returned if this event target has any listeners.
Has listeners.
The object has properties.
Key name.
Old value.
ProtectedonceProtectedonKey name.
Listener.
Type.
Listener.
ProtectedsetProtectedSet the value to be used as the key for all tiles in the source.
The key for tiles.
Set the state of the source.
State.
Sets the tile grid to use when reprojecting the tiles to the given projection instead of the default tile grid for the projection.
This can be useful when the default tile grid cannot be created (e.g. projection has no extent defined) or for optimization reasons (custom tile size, resolutions, ...).
Projection.
Tile grid to use for the projection.
ProtectedunProtectedUnlisten for a certain type of event.
Type.
Listener.
options for function call.