watergis / maplibre-gl-legend

This module adds legend control which is able to create legend panel from mapbox style to maplibre-gl-legend
https://maplibre-gl-legend.water-gis.com/
MIT License
31 stars 7 forks source link

Custom "Only rendered" text #21

Open frafra opened 11 months ago

frafra commented 11 months ago

It would be useful to allow customizing the "Only rendered" string, so that other languages can be supported as well: https://github.com/watergis/maplibre-gl-legend/blob/de661ee8e05cfa85242c10fb3e0aced35a2e1ca9/packages/maplibre-gl-legend/src/lib/index.ts#L334C38-L334C38

JinIgarashi commented 11 months ago

@frafra I agree. Please feel free to create a PR to this repo. I am happy to merge it.