oscar.Layer.WMTS

The WMTS Layer obtains tiles from a Web Map Tiling Service.

Inherits from:oscar.Layer @requires OpenLayers/Layer/TMS.js
Summary

Functions

OpenLayers.Layer.WMTS

Parameters: name{String} url - {String} params - {Object} WMTS request
parameters options{Object} extra options to tag onto the layer

getURL

getURL : function(bounds)
Parameters: bounds{<OpenLayers.Bounds>}

Returns: {String} A string with the layer’s url and parameters and also the passed-in bounds and appropriate tile size specified as parameters

addTile addTile creates a tile, initializes it, and adds it to

the layer div.

Parameters: bounds{<OpenLayers.Bounds>} position - {<OpenLayers.Pixel>}

Returns: {<OpenLayers.Tile.Image>} The added OpenLayers.Tile.Image

getURL : function(bounds)