Closed tchaddad closed 3 months ago
An example of what I mean by an arbitrary complex legend graphic:
<map-source>
...
<layer ...>
...
<legend type="img">images/fancy_legend.gif</legend>
</layer>
</map-source>
Here's more examples:
<legend type="html"><![CDATA[ <img src="logo-mini.png"> <span style="color:green">GeoMoose Sightings</span><br> <span style="color:red">🐎 GeoHorse Sightings</span><br> ]]></legend>
and
Ah great, I will give these a try, and then add to the how-tos...
I found a snippet in some old docs, of a previously supported way to display an arbitrary legend graphic:
This doesn't seem to be supported in GM 3 any longer (though maybe I failed to get it to work).
If it was dropped, I'm thinking it would be a nice thing to support again, as it can be handy in situations where a legend might be more complicated than something that any service can generate.