harling wrote:Quite a while ago, I proposed a feature on Uservoice that would display (and make selectable on the map) only roads within a certain range of levels. There are places in Boston where overpasses, surface streets and tunnels all stack on top of each other--with the requisite number of ramps snaking over, under and between throughout--and it can be nigh-impossible to see, let alone adjust, anything without zooming in so close that you can no longer see the "big picture".
The browser does not draw any segments but these come as transparent PNG images from server. Now when you zoom in enough then server sends segment geometry data to the browser and then you can select segments. And at this point scripts are able to change segment color and visibility. I guess it is done so for performance reasons. It is less load to the server, less network traffic and faster UI experience.
The Uservoice page for the map editor is gone, and with it my suggestion, but it occurs to me that it -might- be possible to implement something along those lines using scripting. I expect that the tiles cannot be adjusted to remove undesired segments altogether, but by highlighting included segments, and suppressing selection of & snap-to excluded segments, would at least make it a bit easier.
You are right, the segments can't be removed form the map because these come as images. In theory it should be possible to completely hide the layer where segments are drawn and make all segments drawn by browser visible like they are selected but using different color.
If anyone would like to give it a shot, I'd be glad to develop a functional spec. (Even dig into the code myself, given some guidance about where I should look.)
If you can develop a spec taking in account how Waze works then it might be even possible.
--
Cougar

