Hi, I have a problem / error while trying to use google v3 and v2 maps on the page at the same time.
The core of our application uses the v2 API and adds some new features, we decided to use the v3 api, since v2 is deprecated. Therefore, I dynamically load the v3 version of the api into another "tab" of the application.
The problem is that if you click on the v3 map and then click on the v2 map, the v2 map will start following the mouse cursor, as if you clicked to start dragging, but you never released the mouse button. And basically errors before page reload
Here is an example with simple instructions on how to replicate http://jsbin.com/googlemapv3v2/1
Itβs strange if you first click / play with the v2 card, then click / play with the v3 card, it all works great.
So, I tried to βtrickβ him by issuing custom click / mousedown events on the v2 map after loading the v3 api. http://jsbin.com/googlemapv3v2/2
But no luck, does anyone have any ideas?
EDIT . It should be noted that this only happens in chrome, firefox, safari havent, a proven opera.
javascript google-maps google-maps-api-3 google-maps-api-2
Okeydoke
source share