[openstreetmap/openstreetmap-website] Add OpenMapTiles vector layer (PR #3753)
Martin Ždila
notifications at github.com
Fri Oct 14 08:20:31 UTC 2022
This pull request adds OpenMapTiles vector layer among the featured layers. To ensure compatibility with the current stack based on Leaflet, it uses [maplibre-gl-leaflet](https://github.com/maplibre/maplibre-gl-leaflet) library.
The main advantage for users is support for labels in multiple languages: users can easily switch by changing language preferences in settings.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/3753
-- Commit Summary --
* added OpenMapTiles map
* removed translations which are handled by translatewiki
* improved OMT attribution
* reimplemented setting the language
* upgraded maplibre
* added parameters to 3D map URL
* added extra parameters to 3d map demo
* fixed zoom in URL
* Revert "fixed zoom in URL"
* renamed assets
* updated URL parameters
* updated 3d map url
* switched lat/lng in 3d demo url
* Merge remote-tracking branch 'upstream/master'
* Merge branch 'openstreetmap:master' into master
* removed alternative language switching
-- File Changes --
M app/assets/javascripts/leaflet.map.js (8)
M config/locales/en.yml (16)
M package.json (2)
A vendor/assets/leaflet/leaflet.maptiler.language.js (146)
M vendor/assets/leaflet/leaflet.osm.js (38)
M yarn.lock (1529)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/3753.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3753.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3753
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3753 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221014/fc87f590/attachment.htm>
More information about the rails-dev
mailing list