OpenLayers JavaScript Mapping Library |
OpenLayers. Layer. ImageInstances of OpenLayers.Layer.Image are used to display data from a web accessible image as a map layer. Create a new image layer with the OpenLayers.Layer.Image constructor. Inherits from OpenLayers.Layer. Summary
extent{OpenLayers.Bounds} The image bounds in map units size{OpenLayers.Size} The image size in pixels OpenLayers. Layer. ImageCreate a new image layer Parameters
clone
Create a clone of this layer Paramters
Returns{OpenLayers.Layer.Image} An exact copy of this layer moveTo
Create the tile for the image or resize it for the new resolution Parameters
getURL
The url we return is always the same (the image itself never changes) so we can ignore the bounds parameter (it will always be the same, anyways) Parameters
|
Destroy this layer
destroy: function()
Create a clone of this layer
clone: function( obj )
setMap: function( map )
Create the tile for the image or resize it for the new resolution
moveTo:function( bounds, zoomChanged, dragging )
setUrl: function( newUrl )
The url we return is always the same (the image itself never changes) so we can ignore the bounds parameter (it will always be the same, anyways)
getURL: function( bounds )