[openstreetmap/openstreetmap-website] Add Shortbread-based vector tile layer (PR #6137)

Marwin Hochfelsner notifications at github.com
Sun Jul 13 10:54:29 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) {

Well, there's already quite a section in the `embed.js` just to allow overriding the standard layer's URL with `Settings.tile_cdn_url`. I think for the OSMF-provided services, a tighter integration is better.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6137#discussion_r2203337157
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6137/review/3014107333 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250713/cb326d61/attachment.htm>


More information about the rails-dev mailing list