logoalt Hacker News

throw_away_623today at 2:30 PM1 replyview on HN

Are the names of cities/streets included in the tiles, or do they have to be placed from a different data source?


Replies

homebrewertoday at 2:44 PM

No, the names are there in the file, streets included. Their default styles did not support the languages we needed out of the box (everything was shown in the local language or English IIRC), but it was easy to fix by patching the style. I don't remember the exact fix, but it was about as simple as replacing something like `["get", "name_en"]` with `["get", ["coalesce", "name_xx", "name_en"]]`.

show 1 reply