Blog

Viewing posts for the category Leaflet

WMS Legend Plugin for Leaflet

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

This weekend I was updating our map gallery at http://maps.kartoza.com 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