JeffK_


grrr,

bad bad issue,

if i got 2 maps on one single page, and try to switch one of them to 3dmode,

an exception occurs, because the api tries to access the element 'obliqueNotification.style'

if i got 2 maps, this element exists twice, thus, obliqueNotification is an array of them instead the element itself.

if only oninitmode could fire before the map mode changes, i could delete the second map before the mode changes...





Re: Issues with 2 maps on a page and 3d mode

JeffK_


ha,

solved it....

i just rename it, and a second one called 'threeDNotification' when i create my minimap, and it works.







Re: Issues with 2 maps on a page and 3d mode

Gascho Rempel

Hi,

I am having the same problem you had. I don't understand where you renamed the obliqueNotification for each map. Where is that set

Marc






Re: Issues with 2 maps on a page and 3d mode

Gascho Rempel

The following code inserted where I load my maps solved the problem.

document.getElementById("obliqueNotification").id = "obliqueNotification_myMap";
document.getElementById("threeDNotification").id = "threeDNotificiation_myMap";

Marc