bz2012 wrote:davipt wrote:...
"mouse-over shows the roads" data is vectorial data retrieved as json from waze.com/descartes/features. If this fails, you'll get roads images but none will be selectable. And no radars, no problems, none of those.
Hm... interesting point that I didn't bring up is that the WME color highlight extension DOES work.
That implies to me that WME could be made more efficient by dispensing entirely with the ROAD images and just using a method similar to the way the WME color highlight extension works.
That could dispense with the need for a LOT network traffic.
It would be quite heavy on the browser to draw all segments, including the direction arrows, and more importantly the road names and their position on the segment and the angle in vectorial mode. Not impossible though. It's still easier and cheaper to do it once on the server side.
The thing that could be improved is caching, as I don't think there's any relevant cache on the tiles. If I request the same tile over and over again I get the average of 3 seconds, but sometimes a fast reply, sometimes a very slow one, and what tips it off is the sometimes there's segments, sometimes only arrows. But I'm sure one of the new infrastructure's advantage is better caching on these tiles.