]> git.openstreetmap.org Git - rails.git/commit
Add Shortbread-based Vector Tile layer
authorPaul Norman <penorman@mac.com>
Fri, 27 Jun 2025 04:38:30 +0000 (21:38 -0700)
committerPaul Norman <penorman@mac.com>
Thu, 17 Jul 2025 21:41:34 +0000 (14:41 -0700)
commit61f61b47370f943bf7a8005a7de9637b2de49c17
tree5da09b750eee560054388ecb43774ac7ca23f71a
parentea7bd40f86f4d325264e82ba54af25dfd19def2e
Add Shortbread-based Vector Tile layer

This adds Maplibre and a new layer which uses the OSMF vector tile
service. It also turns relative URLs within the stylesheet to
absolute ones.
12 files changed:
app/assets/config/manifest.js
app/assets/javascripts/application.js
app/assets/javascripts/leaflet.maplibre.js [new file with mode: 0644]
app/assets/javascripts/leaflet.shortbread.js [new file with mode: 0644]
app/assets/javascripts/osm.js.erb
app/controllers/application_controller.rb
config/eslint.config.mjs
config/initializers/content_security_policy.rb
config/layers.yml
config/locales/en.yml
package.json
yarn.lock