Ulf Lamping wrote:
Hi!

Quite a while ago, I've experimented with the map display to show/hide features only at a specific zoomlevel of the JOSM map display.

At that time, the display was so slow that removing specific features from the map was an idea to speed up the map display. Since then I've spend quite some effort to increase the map speed, which made the whole scale tag thing obsolete IMHO.

The two values of scale_max / scale_min that are currently spamming elemstyles.xml (the mappaint style file) are actually unused AFAIK.

Are there any objections against removing the remaining traces of these experiments?

No objections. Maybe we can switch the default value of mappaint.zoomLevelDisplay from false to true afterwards. This way authors of external style sets can create fancy scale dependent styles and don't need to bother their users with advanced preferences configuration.

Btw., I have mostly completed mapcss support (which offers zoom dependent markup, as well), but it will take some time to integrate into JOSM. A lot of existing code needs to be adapted and I don't want to break too much...

E.g. the z-index property does not work well with the way multipolygons are drawn in the PaintVisitor.


Sebastian

_______________________________________________
josm-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to