Additional documentation for the WMTS layer (see #2637).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10389 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -19,7 +19,7 @@ OpenLayers.Layer.WMTS = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
|
||||
/**
|
||||
* APIProperty: isBaseLayer
|
||||
* {Boolean}
|
||||
* {Boolean} The layer will be considered a base layer. Default is true.
|
||||
*/
|
||||
isBaseLayer: true,
|
||||
|
||||
@@ -37,13 +37,14 @@ OpenLayers.Layer.WMTS = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
|
||||
/**
|
||||
* APIProperty: url
|
||||
* {String} The base URL for the WMTS service.
|
||||
* {String} The base URL for the WMTS service. Must be provided.
|
||||
*/
|
||||
url: null,
|
||||
|
||||
/**
|
||||
* APIProperty: layer
|
||||
* {String} The layer identifier advertised by the WMTS service.
|
||||
* {String} The layer identifier advertised by the WMTS service. Must be
|
||||
* provided.
|
||||
*/
|
||||
layer: null,
|
||||
|
||||
@@ -68,7 +69,10 @@ OpenLayers.Layer.WMTS = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
/**
|
||||
* APIProperty: tileOrigin
|
||||
* {<OpenLayers.LonLat>} The top-left corner of the tile matrix in map
|
||||
* units.
|
||||
* units. If the tile origin for each matrix in a set is different,
|
||||
* the <matrixIds> should include a topLeftCorner property. If
|
||||
* not provided, the tile origin will default to the top left corner
|
||||
* of the layer <maxExtent>.
|
||||
*/
|
||||
tileOrigin: null,
|
||||
|
||||
@@ -153,6 +157,7 @@ OpenLayers.Layer.WMTS = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
* Required configuration properties:
|
||||
* url - {String} The base url for the service. See the <url> property.
|
||||
* layer - {String} The layer identifier. See the <layer> property.
|
||||
* style - {String} The layer style identifier. See the <style> property.
|
||||
* matrixSet - {String} The tile matrix set identifier. See the <matrixSet>
|
||||
* property.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user