[openstreetmap/openstreetmap-website] Add Shortbread-based vector tile layer (PR #6137)
Marwin Hochfelsner
notifications at github.com
Sun Jul 13 10:42:30 UTC 2025
@hlfan commented on this pull request.
> L.extend(L.LatLngBounds.prototype, {
getSize: function () {
return (this._northEast.lat - this._southWest.lat) *
(this._northEast.lng - this._southWest.lng);
}
});
+if (OSM.SHORTBREAD_STYLE_URL) {
That should be doable by adding this single line to `map_layers.rb`:
```ruby
.reject { |layer| layer["layerId"] == "shortbread" && !Settings["shortbread_style_url"] }
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6137#discussion_r2203331972
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6137/review/3014099766 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250713/a6a170bb/attachment-0001.htm>
More information about the rails-dev
mailing list