new WMTS(options)
Parameters:
| Name | Type | Description |
|---|---|---|
options |
bu.ortho.source.WMTSOptions |
- Source:
- bu-ortho/source/wmts.js
Extends
- ol.source.TileImage
Methods
-
changeOptions(forceChange [, layerType], rotation, resolution, time)
-
Change internal options for the WMTS layer and matrixSet passed.
Parameters:
Name Type Argument Description forceChangeboolean If force a change even if params will stay the same.
layerTypebu.BlomURBEXBaseLayerType <optional>
LayerType.
rotationnumber <nullable>
The rotation in decimal degrees.
resolutionnumber <nullable>
The resolution in map units per pixel.
timestring <nullable>
The time filter.
- Source:
- bu-ortho/source/wmts.js
-
getAutoSwitchLayer()
-
Gets autoSwitchLayer value, that indicates if layer param is updated when map rotation changes or not.
- Source:
- bu-ortho/source/wmts.js
Returns:
- Type
- boolean
-
getBaseUrl()
-
Return the base URL used to request tiles.
- Source:
- bu-ortho/source/wmts.js
Returns:
Base URL.
- Type
- string
-
getCapabilities()
-
- Source:
- bu-ortho/source/wmts.js
Returns:
Return an object representing the WMTS capabilities.
- Type
- Object
-
getDimensions()
-
Get the dimensions, i.e. those passed to the constructor through the "dimensions" option, and possibly updated using the updateDimensions method.
- Source:
- bu-ortho/source/wmts.js
Returns:
Dimensions.
- Type
- Object
-
getFormat()
-
Return the image format of the WMTS source.
- Source:
- bu-ortho/source/wmts.js
Returns:
Format.
- Type
- string
-
getLayer()
-
Return the layer of the WMTS source.
- Source:
- bu-ortho/source/wmts.js
Returns:
Layer.
-
getLayerForRotation(rotation)
-
Gets the layer to request for a given rotation.
Parameters:
Name Type Description rotationnumber The rotation in decimal degrees.
- Source:
- bu-ortho/source/wmts.js
Returns:
- Type
- string
-
getMatrixSet()
-
Return the matrix set of the WMTS source.
- Source:
- bu-ortho/source/wmts.js
Returns:
MatrixSet.
- Type
- string
-
getOrthoZoom(resolution)
-
Returns zoom level in corresponding 'BlomURBEX:ORTHO' layer to given resolution. If GetCapabilities infomation is still not available undefinded is returned.
Parameters:
Name Type Description resolutionnumber | undefined Center currently visible in current source projection.
- Source:
- bu-ortho/source/wmts.js
Returns:
zoom Zoom level.
- Type
- number
-
getOverlay()
-
Return the overlay of the WMTS source.
- Source:
- bu-ortho/source/wmts.js
Returns:
Overlay.
- Type
- string
-
getRequestedLayer()
-
Return the real requested layer of the WMTS source.
- Source:
- bu-ortho/source/wmts.js
Returns:
Layer.
-
getRequestEncoding()
-
Return the request encoding, either "KVP" or "REST".
- Source:
- bu-ortho/source/wmts.js
Returns:
Request encoding.
- Type
- ol.source.WMTSRequestEncoding
-
getStyle()
-
Return the style of the WMTS source.
- Source:
- bu-ortho/source/wmts.js
Returns:
Style.
- Type
- string
-
getVersion()
-
Return the version of the WMTS source.
- Source:
- bu-ortho/source/wmts.js
Returns:
Version.
- Type
- string
-
<protected> handleWMTSError()
-
- Source:
- bu-ortho/source/wmts.js
-
<protected> handleWMTSResponse(response)
-
Parameters:
Name Type Description responseObject An object representing the WMTS capabilities.
- Source:
- bu-ortho/source/wmts.js
-
updateAttributions(center, resolution)
-
Updates attributions with the given parameters.
Parameters:
Name Type Description centerol.Coordinate Center currently visible in current source projection.
resolutionnumber Resolution of level currently visible.
- Source:
- bu-ortho/source/wmts.js
-
updateDimensions(dimensions)
-
Update the dimensions.
Parameters:
Name Type Description dimensionsObject Dimensions.
- Source:
- bu-ortho/source/wmts.js
Javascript API 7.x