Adding an example to the WMTS constructor docs (as with the WMS docs).

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10415 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2010-06-18 15:15:08 +00:00
parent 4bb7ccaf0a
commit e6b0ec0ee3

View File

@@ -151,6 +151,17 @@ OpenLayers.Layer.WMTS = OpenLayers.Class(OpenLayers.Layer.Grid, {
* Constructor: OpenLayers.Layer.WMTS
* Create a new WMTS layer.
*
* Example:
* (code)
* var wmts = new OpenLayers.Layer.WMTS({
* name: "My WMTS Layer",
* url: "http://example.com/wmts",
* layer: "layer_id",
* style: "default",
* matrixSet: "matrix_id"
* });
* (end)
*
* Parameters:
* config - {Object} Configuration properties for the layer.
*