← Back to context

Comment by throw_away_623

8 hours ago

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

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"]]`.

  • Is there enough information to show exact addresses? For example "221B Baker Street"

    • Sure. You can look at their demo, it uses the exact same single-file hosting mechanism (the network requests tab in the browser dev tools confirms it — it doesn't send any other requests), and street/house addresses are visible on the map.

      https://maps.protomaps.com