Open GoogleCodeExporter opened 9 years ago
It sounds like your use case would be solved with faster animation through the
API. Some tips -- I was able to make your example work smoothly using these
workarounds:
1) use Firefox. The overhead on calls into plugins is much lower than the
webkit browsers, for whatever reason.
2) change updateRate to 16. (With updateRate at 200, you will never get better
than 5 frames per second.)
3) it helps to minimize API calls inside your turkeyTimer() routine. One way
to do this is to keep a locationsArray for the model location object, and keep
Javascript arrays for the current lat and lon, instead of calling
location.getLatitude()/getLongitude(). Finally, the call to
modelArray[i].setLocation(location) is not necessary.
Original comment by tulr...@google.com
on 23 Dec 2010 at 3:30
Original issue reported on code.google.com by
dan.c.be...@gmail.com
on 22 Nov 2010 at 4:35Attachments: