[OSM-dev] The map key isn't static anymore

Ævar Arnfjörð Bjarmason avarab at gmail.com
Tue Jun 23 20:32:08 BST 2009


The map key is now a HTML table instead of a static PNG image as can
be seen on the dev server (click "Map key"):

http://api06.dev.openstreetmap.org/

(Should be on the main site soon)

There's lots of room for improvement here, and much easier to make
those improvements now that it's not static:

* It doesn't correspond very well to the map.

E.g. zoom level 2 still shows motorway/trunk roads in the map key even
though they're nowhere to be found, if someone would collate a list of
what's visible on each zoom level (the possible values are under
"mapkey_values" here:
http://trac.openstreetmap.org/browser/sites/rails_port/app/views/site/_key.html.erb
) then that could be used to improve the map.

Maybe such a list could be maintained on the wiki, as long as it's in
a format that's reasonably easy to parse I could write a script that
generated _key.html.erb periodically from it.

* Stuff is missing

There are no icons for tertiary roads to name one obvious example, and
lots of other stuff is missing.

The icons are really easy to make now, here's an example:
http://api06.dev.openstreetmap.org/images/mapkey/motorway.png

* It's easier to support other renderers now

Maybe projects like osmarender would like to have their own map key?
If they generate the appropriate icons it should be easy to add them.

* Do we want to link to the wiki?

If we had a list of how wiki pages relate to the tag names (which
should be easy enough to generate) we could link from each row in the
map key to the appropriate wiki page, is this a good idea?

* Your pet-peeve here




More information about the dev mailing list