Add missing new keyword in doc. thanks @DaveCausey (closes #111)
This commit is contained in:
@@ -70,7 +70,7 @@ OpenLayers.Layer.TMS = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
*
|
||||
* Example:
|
||||
* (code)
|
||||
* var layer = OpenLayers.Layer.TMS(
|
||||
* var layer = new OpenLayers.Layer.TMS(
|
||||
* "My Layer",
|
||||
* "http://tilecache.osgeo.org/wms-c/Basic.py/",
|
||||
* {
|
||||
|
||||
Reference in New Issue
Block a user