Hi there,

Example: http://ingenadgang.dk/chrome/test.htm

It works in all other browsers - not in Google Chrome (12.0.742.100 and 
14.0.794.0 (Canary)): Here the Marker moves for about two minutes or so - 
then Chrome crashes ("Aw, snap").
I've posted the issue at the chrome-bugtracker as well: 
http://code.google.com/p/chromium/issues/detail?id=86520

It's a setPosition many, many times on a marker.
The memory-usage builds up, is cut down once and then it builds up again 
until it crashes.

Code snippet:
...
        --- SOME STANDARD INIT CODE ---
        // Start interval
        setInterval("setpoint()", 40);
    }

    // move point
    function setpoint() {
        // Set new position
        marker.setPosition(new google.maps.LatLng(lat, lng));
        // Update position
        lat += 0.0000001;
        lng += 0.0000001;
    }
...

Ideas?

Kind regards
Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/9CxlfTr40ToJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to