<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thanks Yves for the pointer!<br>
      <br>
      Also the cloudmade support brought another project to my
      attention:<br>
      <a class="moz-txt-link-freetext" href="http://humangeo.github.io/leaflet-dvf/">http://humangeo.github.io/leaflet-dvf/</a><br>
      <br>
      See below where it reads: <i>Legends - Useful for visually
        informing users about the dynamic styles associated with your
        L.DataLayer instances</i><br>
      and<br>
      <i>L.Control.Legend - Add this control to your map to
        automatically display a dynamic legend for any L.DataLayer based
        instance that you add to your map</i>
      <blockquote>
      </blockquote>
      Regards,<br>
      Peter.<br>
      <br>
    </div>
    <blockquote cite="mid:523749E3.3070708@gmail.com" type="cite">I
      spent some time 3 years ago on the subject, and came out with
      that: <a class="moz-txt-link-freetext" href="https://github.com/yvecai/RenderLegend">https://github.com/yvecai/RenderLegend</a>
      <br>
      Unfortunately, the demo website that was showing mapkeys for
      various styles, in various languages, and changing when zooming
      the map is not anymore.
      <br>
      <br>
      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.
      <br>
      I ended up with this as the entry point:
      <a class="moz-txt-link-freetext" href="https://github.com/yvecai/RenderLegend/blob/master/legend_compact.xml">https://github.com/yvecai/RenderLegend/blob/master/legend_compact.xml</a>
      <br>
      This kind of file should probably come in 2 version: a short one
      and a to-be-complete one.
      <br>
      <br>
      Hope this helps,
      <br>
      Yves
      <br>
      <br>
      On 09/16/2013 11:55 AM, Peter K wrote:
      <br>
      <blockquote type="cite">Hi,
        <br>
        <br>
        is there a kind of a standard or suggestion on how to retrieve
        the map
        <br>
        key? Like an http API or a leaflet plugin? On osm.org there is
        only the
        <br>
        'map key' data available for the default layer in the right box.
        And not
        <br>
        all details are given like here:
        <br>
        <a class="moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/DE:Map_Features">http://wiki.openstreetmap.org/wiki/DE:Map_Features</a>
        <br>
        <br>
        Someone knows some open source effort for more details and for
        support
        <br>
        of the various providers like mapquest, osm.de, cloudmade, ...?
        <br>
        <br>
        Kind Regards,
        <br>
        Peter.
        <br>
        <br>
        _______________________________________________
        <br>
        dev mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a>
        <br>
        <a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/dev">https://lists.openstreetmap.org/listinfo/dev</a>
        <br>
        .
        <br>
        <br>
      </blockquote>
      <br>
      <br>
      _______________________________________________
      <br>
      dev mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/dev">https://lists.openstreetmap.org/listinfo/dev</a>
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>