• Google Maps plugin Krpano 1.0.8.15 built 2012-10-05

    This code causes stack overflow. The problem occurs while using copy function instead set/get. It seems the lat and lng variable's name in mapmoved actions are restricted. While using 'llat' and 'llng' or any other variable names, the problem doesn't occur. I didn't check it in bing map plugin.

  • Hi,

    this is an endless loop - you will set the lat/lng again - and even when the values are the same, this will cause a redraw/move event - and so the onmapmoved event will be called again and again and again...

    About - 'It seems the lat and lng variable's name in mapmoved actions are restricted' - they are not restricted, but the attributes/properties of an plugin/hotspots element are 'directly' accessible when the code was called from an event from that element.
    That means - 'lat' and 'plugin[map].lat' are addressing the same variables in this case.

    Best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!