Fix some problems in the documentation.
This commit is contained in:
@@ -56,10 +56,11 @@ OpenLayers.Layer.ArcGIS93Rest = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
* url - {String} Base url for the ArcGIS server REST service
|
||||
* options - {Object} An object with key/value pairs representing the
|
||||
* options and option values.
|
||||
*
|
||||
* Valid Options:
|
||||
* format: {String} MIME type of desired image type.
|
||||
* layers: {String} Comma-separated list of layers to display.
|
||||
* srs: {String} Projection ID.
|
||||
* format - {String} MIME type of desired image type.
|
||||
* layers - {String} Comma-separated list of layers to display.
|
||||
* srs - {String} Projection ID.
|
||||
*/
|
||||
initialize: function(name, url, params, options) {
|
||||
var newArguments = [];
|
||||
|
||||
@@ -272,7 +272,7 @@ OpenLayers.Layer.ArcIMS = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
*
|
||||
* Parameters:
|
||||
* id - {String} The ArcIMS layer ID.
|
||||
* queryDef - {Object} The query definition to apply to this layer.
|
||||
* querydef - {Object} The query definition to apply to this layer.
|
||||
*/
|
||||
setLayerQuery: function(id, querydef) {
|
||||
// find the matching layer, if it exists
|
||||
|
||||
@@ -177,7 +177,7 @@ OpenLayers.Layer.Google = OpenLayers.Class(
|
||||
* Hide or show the Layer
|
||||
*
|
||||
* Parameters:
|
||||
* display - {Boolean}
|
||||
* visible - {Boolean}
|
||||
*/
|
||||
display: function(visible) {
|
||||
if (!this._dragging) {
|
||||
@@ -190,7 +190,7 @@ OpenLayers.Layer.Google = OpenLayers.Class(
|
||||
* Method: moveTo
|
||||
*
|
||||
* Parameters:
|
||||
* bound - {<OpenLayers.Bounds>}
|
||||
* bounds - {<OpenLayers.Bounds>}
|
||||
* zoomChanged - {Boolean} Tells when zoom has changed, as layers have to
|
||||
* do some init work in that case.
|
||||
* dragging - {Boolean}
|
||||
|
||||
@@ -762,7 +762,7 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
||||
* resolution - {Number}
|
||||
*
|
||||
* Returns:
|
||||
* Object containing properties tilelon, tilelat, tileoffsetlat,
|
||||
* {Object} containing properties tilelon, tilelat, tileoffsetlat,
|
||||
* tileoffsetlat, tileoffsetx, tileoffsety
|
||||
*/
|
||||
calculateGridLayout: function(bounds, origin, resolution) {
|
||||
|
||||
@@ -92,7 +92,7 @@ OpenLayers.Layer.KaMap = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
* resolution - {Number}
|
||||
*
|
||||
* Returns:
|
||||
* Object containing properties tilelon, tilelat, tileoffsetlat,
|
||||
* {Object} Object containing properties tilelon, tilelat, tileoffsetlat,
|
||||
* tileoffsetlat, tileoffsetx, tileoffsety
|
||||
*/
|
||||
calculateGridLayout: function(bounds, origin, resolution) {
|
||||
|
||||
@@ -449,7 +449,7 @@ OpenLayers.Layer.MapGuide = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
* resolution - {Number}
|
||||
*
|
||||
* Returns:
|
||||
* Object containing properties tilelon, tilelat, tileoffsetlat,
|
||||
* {Object} Object containing properties tilelon, tilelat, tileoffsetlat,
|
||||
* tileoffsetlat, tileoffsetx, tileoffsety
|
||||
*/
|
||||
calculateGridLayout: function(bounds, origin, resolution) {
|
||||
|
||||
@@ -936,7 +936,7 @@ OpenLayers.Layer.Vector = OpenLayers.Class(OpenLayers.Layer, {
|
||||
* attrValue - {Mixed}
|
||||
*
|
||||
* Returns:
|
||||
* Array(<OpenLayers.Feature.Vector>) An array of features that have the
|
||||
* Array({<OpenLayers.Feature.Vector>}) An array of features that have the
|
||||
* passed named attribute set to the given value.
|
||||
*/
|
||||
getFeaturesByAttribute: function(attrName, attrValue) {
|
||||
|
||||
@@ -296,7 +296,7 @@ OpenLayers.Layer.WMTS = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
* Method: moveTo
|
||||
*
|
||||
* Parameters:
|
||||
* bound - {<OpenLayers.Bounds>}
|
||||
* bounds - {<OpenLayers.Bounds>}
|
||||
* zoomChanged - {Boolean} Tells when zoom has changed, as layers have to
|
||||
* do some init work in that case.
|
||||
* dragging - {Boolean}
|
||||
|
||||
@@ -261,7 +261,7 @@ OpenLayers.Layer.Zoomify = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
* resolution - {Number}
|
||||
*
|
||||
* Returns:
|
||||
* Object containing properties tilelon, tilelat, tileoffsetlat,
|
||||
* {Object} Object containing properties tilelon, tilelat, tileoffsetlat,
|
||||
* tileoffsetlat, tileoffsetx, tileoffsety
|
||||
*/
|
||||
calculateGridLayout: function(bounds, origin, resolution) {
|
||||
|
||||
Reference in New Issue
Block a user