OpenLayers OpenLayers

Ticket #1540: ve.patch

File ve.patch, 1.4 kB (added by euzuro, 4 months ago)

how to say... "fixing"?

  • lib/OpenLayers/Layer/VirtualEarth.js

    old new  
    209209     * {Object} MapObject LonLat translated from MapObject Pixel 
    210210     */ 
    211211    getMapObjectLonLatFromMapObjectPixel: function(moPixel) { 
    212         return this.mapObject.PixelToLatLong(moPixel.x, moPixel.y); 
     212        return this.mapObject.PixelToLatLong(moPixel); 
    213213    }, 
    214214 
    215215    /** 
     
    325325     * {Object} MapObject Pixel from x and y parameters 
    326326     */ 
    327327    getMapObjectPixelFromXY: function(x, y) { 
    328         return new Msn.VE.Pixel(x, y); 
     328        return new VEPixel(x, y); 
    329329    }, 
    330330 
    331331    CLASS_NAME: "OpenLayers.Layer.VirtualEarth" 
  • examples/ve.html

    old new  
    33      <title>OpenLayers Virtual Earth Example</title> 
    44    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" /> 
    55    <link rel="stylesheet" href="style.css" type="text/css" /> 
    6     <script src='http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js'></script> 
     6    <script src='http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1'></script> 
    77 
    88    <script src="../lib/OpenLayers.js"></script> 
    99    <script type="text/javascript">