Add legends for each MBTile layer

Bug #1206068 reported by Ben Wyss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake Platform
New
Undecided
Ben Wyss

Bug Description

The MBTile layers need legends. One approach could be to create a html legend that is embedded in the MBTile set. The issue with this is that when two or more MBTile layers are rendered on the same map they will both have legends that will be conflicting.

A solution would be to create a legend server (simple html files/snippets). When each layers is rendered in a leaflet map, the legend is also returned to the client. Then the user can add or remove any available legend to a 'legend dialog', this legend dialog can be viewed or hidden.

Tags: leaflet
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.