v3.js | |
Constants | |
OpenLayers. Layer. Google.v3 | Mixin providing functionality specific to the Google Maps API v3. |
DEFAULTS | {Object} It is not recommended to change the properties set here. |
Functions | |
onMapResize | |
getMapObjectBoundsFromOLBounds | |
getMapObjectLonLatFromMapObjectPixel | |
getMapObjectPixelFromMapObjectLonLat | |
setMapObjectCenter | Set the mapObject to the specified center and zoom |
getMapObjectZoomFromMapObjectBounds | |
getMapObjectLonLatFromLonLat | |
getMapObjectPixelFromXY | |
destroy | Clean up this layer. |
{Object} It is not recommended to change the properties set here. Note that Google.v3 layers only work when sphericalMercator is set to true.
{ maxExtent: new OpenLayers.Bounds( -128 * 156543.0339, -128 * 156543.0339, 128 * 156543.0339, 128 * 156543.0339 ), sphericalMercator: true, maxResolution: 156543.0339, units: "m", projection: "EPSG:900913" }
getMapObjectBoundsFromOLBounds: function( olBounds )
olBounds | {OpenLayers.Bounds} |
{Object} A MapObject Bounds, translated from olBounds Returns null if null value is passed in
onMapResize: function()
getMapObjectBoundsFromOLBounds: function( olBounds )
getMapObjectLonLatFromMapObjectPixel: function( moPixel )
getMapObjectPixelFromMapObjectLonLat: function( moLonLat )
Set the mapObject to the specified center and zoom
setMapObjectCenter: function( center, zoom )
getMapObjectZoomFromMapObjectBounds: function( moBounds )
getMapObjectLonLatFromLonLat: function( lon, lat )
getMapObjectPixelFromXY: function( x, y )
Clean up this layer.
destroy: function()