mirror of
https://github.com/maputnik/editor.git
synced 2025-12-27 08:30:02 +00:00
Add LocationIQ as supported map provider (#1293)
- Add LocationIQ access token field to settings and export modals - Include LocationIQ Streets style in gallery - Support automatic token replacement for LocationIQ URLs - Add LocationIQ tileset configuration - Include translations for all supported languages ## Launch Checklist - [x] Briefly describe the changes in this PR. - [x] Write tests for all new functionality. - [x] Add an entry to `CHANGELOG.md` under the `## main` section.
This commit is contained in:
@@ -29,6 +29,12 @@
|
||||
"url": "https://cdn.jsdelivr.net/gh/openmaptiles/dark-matter-gl-style@v1.9/style.json",
|
||||
"thumbnail": "https://maputnik.github.io/thumbnails/dark-matter.png"
|
||||
},
|
||||
{
|
||||
"id": "locationiq-streets",
|
||||
"title": "LocationIQ Streets",
|
||||
"url": "https://tiles.locationiq.com/v3/streets/vector.json?key={key}",
|
||||
"thumbnail": "https://static-assets.locationiq.com/maputnik/locationiq-streets.png"
|
||||
},
|
||||
{
|
||||
"id": "maptiler-basic-gl-style",
|
||||
"title": "MapTiler Basic",
|
||||
|
||||
@@ -18,5 +18,10 @@
|
||||
"type": "vector",
|
||||
"url": "https://s3-eu-west-1.amazonaws.com/tiles.os.uk/v2/data/vector/open-zoomstack/config.json",
|
||||
"title": "OS Open Zoomstack v2"
|
||||
},
|
||||
"locationiq": {
|
||||
"type": "vector",
|
||||
"url": "https://tiles.locationiq.com/v3/pbf/tiles.json?key={key}",
|
||||
"title": "LocationIQ"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"openmaptiles": "get_your_own_OpIi9ZULNHzrESv6T2vL",
|
||||
"thunderforest": "b71f7f0ba4064f5eb9e903859a9cf5c6"
|
||||
"thunderforest": "b71f7f0ba4064f5eb9e903859a9cf5c6",
|
||||
"locationiq": "pk.put_your_api_key_here7bb23dffeb4"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user