wipfli / nepali-map-labels

Demo of Nepali map labels with an indexed font in MapLibre GL JS
https://wipfli.github.io/nepali-map-labels
MIT License
4 stars 1 forks source link

Issues with places name which have spaces inbetween ? #1

Open kshitijrajsharma opened 11 months ago

kshitijrajsharma commented 11 months ago
image

First of all thank you for this , It looks great , most of the places rendering issues are solved , I found one issue may be its because of the space inbetween in label .

POI Details : https://www.openstreetmap.org/node/4382235692

kshitijrajsharma commented 11 months ago

Name seems fine here on the input : https://github.com/wipfli/nepali-map-labels/blob/a638ced498f5e3fc5469acb2a89042ae2796bf95/cities.geojson#L3092

wipfli commented 11 months ago

Hi @kshitijrajsharma. Thank you for the feedback. You are correct, in this map labels with spaces only show the first word. Sorry for this.

I have a new map with hopefully better text. You find it at https://github.com/wipfli/maplibre-precomposed-i18n/. There are also some instructions how to show all labels on the globe in Nepali.

wipfli commented 11 months ago

image

Now works with a simple URL:

https://wipfli.github.io/maplibre-precomposed-i18n/examples/global/#map=11.92/27.70187/85.25517&language=ne

kshitijrajsharma commented 11 months ago

Perfect @wipfli Thanks for this , Just to confirm , Now it will work with any version of Maplibre with the style provided on the repo , right ?

wipfli commented 11 months ago

Yes. Also MapLibre Native and also any other renderer which can consume MapLibre styles such as maybe QGIS or other programs...