OpenLayers JavaScript Mapping Library |
OpenLayers. Layer. GoogleInherits fromSummary
setMap
Overridden from EventPane because if a map type has been specified, we need to attach a listener for the first moveend -- this is how we will know that the map has been centered. Only once the map has been centered is it safe to change the gmap object’s map type. Parameters
getOLBoundsFromMapObjectBounds
Parameters
Returns{OpenLayers.Bounds} An OpenLayers.Bounds, translated from the passed-in MapObject Bounds. Returns null if null value is passed in. getMapObjectBoundsFromOLBounds
Parameters
Returns{Object} A MapObject Bounds, translated from olBounds Returns null if null value is passed in |
Overridden from EventPane because if a map type has been specified, we need to attach a listener for the first moveend -- this is how we will know that the map has been centered.
setMap: function( map )
onMapResize: function()
getOLBoundsFromMapObjectBounds: function( moBounds )
getMapObjectBoundsFromOLBounds: function( olBounds )
{String} String with information on why layer is broken, how to get it working.
getWarningHTML:function()
Set the mapObject to the specified center and zoom
setMapObjectCenter: function( center, zoom )
{Object} The mapObject’s current center in Map Object format
getMapObjectCenter: function()
{Integer} The mapObject’s current zoom, in Map Object format
getMapObjectZoom: function()
getMapObjectLonLatFromMapObjectPixel: function( moPixel )
getMapObjectPixelFromMapObjectLonLat: function( moLonLat )
getMapObjectZoomFromMapObjectBounds: function( moBounds )
getLongitudeFromMapObjectLonLat: function( moLonLat )
getLatitudeFromMapObjectLonLat: function( moLonLat )
getMapObjectLonLatFromLonLat: function( lon, lat )
getXFromMapObjectPixel: function( moPixel )
getYFromMapObjectPixel: function( moPixel )
getMapObjectPixelFromXY: function( x, y )