OpenLayers JavaScript Mapping Library |
OpenLayers. Layer. MapServerInstances of OpenLayers.Layer.MapServer are used to display data from a MapServer CGI instance. Inherits fromSummary
OpenLayers. Layer. MapServerCreate a new MapServer layer object Parameters
clone
Create a clone of this layer Returns{OpenLayers.Layer.MapServer} An exact clone of this layer addTile
Creates a tile, initializes it, and adds it to the layer div. Parameters
Returns{OpenLayers.Tile.Image} The added OpenLayers.Tile.Image getURL
Return a query string for this layer Parameters
Returns{String} A string with the layer’s url and parameters and also the passed-in bounds and appropriate tile size specified as parameters. getFullRequestString
combine the layer’s url with its params and these newParams. Parameter
Returns{String} A string with the layer’s url and parameters embedded in it. |
Create a clone of this layer
clone: function ( obj )
Creates a tile, initializes it, and adds it to the layer div.
addTile:function( bounds, position )
Return a query string for this layer
getURL: function ( bounds )
combine the layer’s url with its params and these newParams.
getFullRequestString:function( newParams, altUrl )