Viewing posts for the category Leaflet

WMS Legend Plugin for Leaflet

Posted by: Gavin Fleming | in Leaflet, QGIS | 3 years, 1 month ago | Comments

This weekend I was updating our map gallery at and I wanted to have WMS legends in my maps. The maps are mostly generated using QGIS server which also produces a nice looking graphic for its getLegendGraphic requests. Since Leaflet does not seem have a legend control out of the box, I wrote a small leaflet plugin to do it.

Template by Blacktie Mezzanine theme by CodingHouse