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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user