diff --git a/README.md b/README.md index 887dec9..6d9cab2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ![](https://github.com/watergis/maplibre-gl-legend/workflows/Node.js%20Package/badge.svg) ![GitHub](https://img.shields.io/github/license/watergis/maplibre-gl-legend) -This module adds legend control which is able to create legend panel from mapbox style to maplibre-gl. It was forked from [maplibre-gl-export](https://github.com/watergis/maplibre-gl-export). +This module adds legend control which is able to create legend panel from mapbox style to maplibre-gl. It was forked from [mapbox-gl-legend](https://github.com/watergis/mapbox-gl-legend). This module is using source code of [orangemug/legend-symbol](https://github.com/orangemug/legend-symbol). I just adopted this library to normal Mapbox GL Plugin. Thanks so much to develop this library! @@ -47,7 +47,7 @@ map.on('load', function() { 'contour-label': 'Contour Label', 'hillshade': 'Hillshade' }; - map.addControl(new watergis.MapboxLegendControl(targets, { + map.addControl(new watergis.MaplibreLegendControl(targets, { showDefault: false, showCheckbox: false, onlyRendered: true,