[OSM-dev] Standard for Map Key
yvecai
yvecai at gmail.com
Mon Sep 16 18:11:47 UTC 2013
I spent some time 3 years ago on the subject, and came out with that:
https://github.com/yvecai/RenderLegend
Unfortunately, the demo website that was showing mapkeys for various
styles, in various languages, and changing when zooming the map is not
anymore.
It's not usefull to try to create the legend automatically from a style.
It was in xml at the time, but I doubt today's css change a lot in this
matter: you'll need a full fledged sql parser.
I ended up with this as the entry point:
https://github.com/yvecai/RenderLegend/blob/master/legend_compact.xml
This kind of file should probably come in 2 version: a short one and a
to-be-complete one.
Hope this helps,
Yves
On 09/16/2013 11:55 AM, Peter K wrote:
> Hi,
>
> is there a kind of a standard or suggestion on how to retrieve the map
> key? Like an http API or a leaflet plugin? On osm.org there is only the
> 'map key' data available for the default layer in the right box. And not
> all details are given like here:
> http://wiki.openstreetmap.org/wiki/DE:Map_Features
>
> Someone knows some open source effort for more details and for support
> of the various providers like mapquest, osm.de, cloudmade, ...?
>
> Kind Regards,
> Peter.
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev
> .
>
More information about the dev
mailing list