Recent activity
Subscribe to this feed
nathanY replied on September 16, 2008 04:47 to the problem "Is there a caching issue with Firefox 3 for OS X?" in Modest Maps:
seaofclouds replied on September 16, 2008 01:41 to the problem "Is there a caching issue with Firefox 3 for OS X?" in Modest Maps:
nathanY replied on September 04, 2008 00:41 to the problem "Is there a caching issue with Firefox 3 for OS X?" in Modest Maps:
RandomEtc replied on September 03, 2008 22:06 to the problem "Is there a caching issue with Firefox 3 for OS X?" in Modest Maps:
ncy111 reported a problem in Modest Maps on September 03, 2008 19:46:
Is there a caching issue with Firefox 3 for OS X?I'm having an issue where my map doesn't load until I clear the cache in Firefox 3 on OS X. It seems to work fine though in Safari and my Windows Firefox and IE. Maybe it's a Firefox issue, but thought I'd bring it up. The .swf in question is here: http://projects.flowingdata.com/visitr/
freaker replied on January 22, 2008 11:22 to the question "GPS Traces with map.locationPoint() alternative?" in Modest Maps:
I'm trying to optimize my application as well. It all runs great with 20-30 sprites on the map, but as the numbers rise above 100 it's another story. I'm calculating the location for all visible objects on panning and zooming, and it's pretty cpu-intensive. Has anyone of you found a way to optimize this?
ncy111 replied on January 15, 2008 02:10 to the idea "New Zoomify Custom Map Tutorial" in Modest Maps:
ncy111 replied on January 12, 2008 15:50 to the question "GPS Traces with map.locationPoint() alternative?" in Modest Maps:
RandomEtc replied on January 11, 2008 19:31 to the question "GPS Traces with map.locationPoint() alternative?" in Modest Maps:
It's tricky to say without knowing when you're calling locationPoint...
Firstly, don't do it on every frame. Probably obvious but you never know.
Second, there's no need to redraw your lines calling locationPoint every time the map is panned. For panning, you can grab the offset from the pan event (store the start position on start pan, increment that, and only reset it and redraw everything on end-pan).
But if you're calling it every time the map is zoomed, that's probably correct, especially for in-between zoom levels. It's possible to scale your layer, but you probably want to clip things outside of the map bounds and things like that to stop your GPS lines being super-huge at large zoom levels.
Lastly, perhaps the node-edge metaphor is slowing you down? If you're making a new DisplayObject (Sprite, Shape...) for each node and line, and moving them all around (perhaps treating nodes as map markers?) that's going to be pretty heavy. Better would be to draw your GPS tracks on a single sprite, and only draw nodes as separate markers if you need them to be interactive.
Hope that helps!
ncy111 asked a question in Modest Maps on January 11, 2008 16:04:
GPS Traces with map.locationPoint() alternative?I've been drawing GPS traces with the node and edge metaphor; however, I quickly run into optimization problems as I add more nodes & edges. I'm using map.locationPoint() to update the edges' endpoints. Does anyone know or can anyone think of a better solution?
Loading Profile...


