improve createLayer from WMTS Capabilities

This commit is contained in:
Stéphane Brunner
2012-03-03 17:57:22 +01:00
committed by Stéphane Brunner
parent da67953c61
commit a662f82a1b
2 changed files with 106 additions and 42 deletions

View File

@@ -106,6 +106,7 @@ OpenLayers.Layer.WMTS = OpenLayers.Class(OpenLayers.Layer.Grid, {
*
* Matrix properties:
* identifier - {String} The matrix identifier (required).
* scaleDenominator - {Number} The matrix scale denominator.
* topLeftCorner - {<OpenLayers.LonLat>} The top left corner of the
* matrix. Must be provided if different than the layer <tileOrigin>.
* tileWidth - {Number} The tile width for the matrix. Must be provided