OpenLayers. Layer. Yahoo | |
Constants | |
MIN_ZOOM_LEVEL | {Integer} 0 |
MAX_ZOOM_LEVEL | {Integer} 17 |
RESOLUTIONS | {Array(Float)} Hardcode these resolutions so that they are more closely tied with the standard wms projection |
Properties | |
type | {YahooMapType} |
wrapDateLine | {Boolean} Allow user to pan forever east/west. |
sphericalMercator | {Boolean} Should the map act as a mercator-projected map? |
Constructor | |
OpenLayers. Layer. Yahoo | |
Functions | |
setMap | Overridden from EventPane because we need to remove this yahoo event pane which prohibits our drag and drop, and we can only do this once the map has been loaded and centered. |
getWarningHTML | {String} String with information on why layer is broken, how to get it working. |
getOLZoomFromMapObjectZoom | |
getMapObjectZoomFromOLZoom | |
setMapObjectCenter | Set the mapObject to the specified center and zoom |
getMapObjectCenter | {Object} The mapObject’s current center in Map Object format |
dragPanMapObject | |
getMapObjectZoom | {Integer} The mapObject’s current zoom, in Map Object format |
getMapObjectLonLatFromMapObjectPixel | |
getMapObjectPixelFromMapObjectLonLat | |
getLongitudeFromMapObjectLonLat | |
getLatitudeFromMapObjectLonLat | |
getMapObjectLonLatFromLonLat | |
getXFromMapObjectPixel | |
getYFromMapObjectPixel | |
getMapObjectPixelFromXY | |
getMapObjectSizeFromOLSize |
{Boolean} Allow user to pan forever east/west. Default is true. Setting this to false only restricts panning if sphericalMercator is true.
setMap: function( map )
Overridden from EventPane because we need to remove this yahoo event pane which prohibits our drag and drop, and we can only do this once the map has been loaded and centered.
map | {OpenLayers.Map} |
getMapObjectSizeFromOLSize: function( olSize )
olSize | {OpenLayers.Size} |
{Object} MapObject Size from olSize parameter
Overridden from EventPane because we need to remove this yahoo event pane which prohibits our drag and drop, and we can only do this once the map has been loaded and centered.
setMap: function( map )
{String} String with information on why layer is broken, how to get it working.
getWarningHTML:function()
getOLZoomFromMapObjectZoom: function( moZoom )
getMapObjectZoomFromOLZoom: function( olZoom )
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()
dragPanMapObject: function( dX, dY )
{Integer} The mapObject’s current zoom, in Map Object format
getMapObjectZoom: function()
getMapObjectLonLatFromMapObjectPixel: function( moPixel )
getMapObjectPixelFromMapObjectLonLat: function( moLonLat )
getLongitudeFromMapObjectLonLat: function( moLonLat )
getLatitudeFromMapObjectLonLat: function( moLonLat )
getMapObjectLonLatFromLonLat: function( lon, lat )
getXFromMapObjectPixel: function( moPixel )
getYFromMapObjectPixel: function( moPixel )
getMapObjectPixelFromXY: function( x, y )
getMapObjectSizeFromOLSize: function( olSize )