Bing Map problem with Opera

  • Satwant
  • Graduate
  • Graduate
  • User avatar
  • Posts: 127
  • Loc: Bangalore

Post 3+ Months Ago

Today testing my Bing map application on opera, i found something unusual.

I attach 'onclick' event of bing maps to a function "OnMapClick"

Code: [ Select ]
map.AttachEvent("onclick", OnMapClick);


in which i am expecting to track Mouse button clicks. i need to check which button is clicked right or left.

Code: [ Select ]
var OnMapClick=function(e)
        {
              var x = e.mapX;
              var y = e.mapY;
              var pixel = new VEPixel(x, y);
              var LL = map.PixelToLatLong(pixel);
              alert(e.leftMouseButton);
        }
  1. var OnMapClick=function(e)
  2.         {
  3.               var x = e.mapX;
  4.               var y = e.mapY;
  5.               var pixel = new VEPixel(x, y);
  6.               var LL = map.PixelToLatLong(pixel);
  7.               alert(e.leftMouseButton);
  8.         }


In Firefox, IE8 and Chrome If works fin but in Opera It Return Only one result "false" for each click. Same problem remain for 'e.leftMouseButton' and Also same happen with 'onmouseup' event.

Still looking for solution for this problem. :(
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Satwant
  • Graduate
  • Graduate
  • User avatar
  • Posts: 127
  • Loc: Bangalore

Post 3+ Months Ago

So i am able to dispatch application with Following Note, on each admin Page.

"This Application is Not Compatible with Opera Web Browser"

..... And my Quest Ends :)

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 81 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.