Skip to content

Commit 8759e3c

Browse files
committed
Formatted readme
1 parent 8d1808c commit 8759e3c

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,32 @@
22

33
Diplomat prepares your interactive map for an international audience. With a few lines of code, your [MapLibre GL JS](https://github.com/maplibre/maplibre-gl-js/)–powered map will speak the user’s preferred language while informing them about local languages the world over.
44

5-
| Before | After |
6-
| ----------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
7-
| <img src="docs/navajo-nation.png" width="400" alt="Navajo Nation;Naabeehó Bináhásdzo"> | [<img src="docs/navajo-nation-es.png" width="400" alt="Nación Navajo (Navajo Nation • Naabeehó Bináhásdzo)">](https://americanamap.org/#map=9/36.2134/-109.2837&language=es) |
8-
| <img src="docs/north-sea.png" width="400" alt="North Sea / Nordsee / Noordzee / Nordsøen / Nordsjøen / Mer du Nord"> | [<img src="docs/north-sea-la.png" width="400" alt="Mare Germanicum">](https://americanamap.org/#map=4/56/3&language=la) |
5+
| Before | After |
6+
| ---------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
7+
| <img src="docs/navajo-nation.png" width="400" alt="Navajo Nation;Naabeehó Bináhásdzo"> | [<img src="docs/navajo-nation-es.png" width="400" alt="Nación Navajo (Navajo Nation • Naabeehó Bináhásdzo)">](https://americanamap.org/#map=9/36.2134/-109.2837&language=es) |
8+
| <img src="docs/north-sea.png" width="400" alt="North Sea / Nordsee / Noordzee / Nordsøen / Nordsjøen / Mer du Nord"> | [<img src="docs/north-sea-la.png" width="400" alt="Mare Germanicum">](https://americanamap.org/#map=4/56/3&language=la) |
99
| <img src="docs/section-ross.png" width="400" alt="Ross Avenue;Tennessee Avenue at Rhode Island Avenue;Section Avenue"> | [<img src="docs/section-ross-en.png" width="400" alt="Ross Avenue • Tennessee Avenue at Rhode Island Avenue • Section Avenue">](https://americanamap.org/#map=17/39.168568/-84.460075) |
1010

1111
## Features
1212

1313
Diplomat gives all parties a win-win:
1414

15-
* Tailors labels to the user’s preferred language.
16-
* Respects multilingualism with optional dual language labels: both the user’s preferred language and the local native language.
17-
* Recognizes any language, dialect, or script out of the box.
15+
- Tailors labels to the user’s preferred language.
16+
- Respects multilingualism with optional dual language labels: both the user’s preferred language and the local native language.
17+
- Recognizes any language, dialect, or script out of the box.
1818

1919
Diplomat lets your designer save face:
2020

21-
* Uses space efficiently with both multiline and inline label layouts.
22-
* Deduplicates names within a label to avoid clutter.
23-
* Preserves diacritics in English exonyms where appropriate.
24-
* Respects right-to-left and vertical text layouts.
21+
- Uses space efficiently with both multiline and inline label layouts.
22+
- Deduplicates names within a label to avoid clutter.
23+
- Preserves diacritics in English exonyms where appropriate.
24+
- Respects right-to-left and vertical text layouts.
2525

2626
Diplomat works quietly behind the scenes:
2727

28-
* Changes the style on the fly at runtime – no need to publish a new style or tileset for every language.
29-
* You choose which style layers to localize, or localize them all automatically.
30-
* Supports multiple popular vector tile schemas without hacky workarounds, plus custom vector tilesets and GeoJSON sources.
28+
- Changes the style on the fly at runtime – no need to publish a new style or tileset for every language.
29+
- You choose which style layers to localize, or localize them all automatically.
30+
- Supports multiple popular vector tile schemas without hacky workarounds, plus custom vector tilesets and GeoJSON sources.
3131

3232
All localization is subject to the availability of localized names in the map data source. See [the caveats](#caveats) for more details.
3333

0 commit comments

Comments
 (0)