[openstreetmap/openstreetmap-website] Minimap migration from Leaflet to MapLibre (PR #6683)

Marwin Hochfelsner notifications at github.com
Sun Jan 25 23:54:03 UTC 2026


@hlfan commented on this pull request.



> @@ -4,6 +4,7 @@
 //= depend_on legend.yml
 
 OSM = {
+  RAILS_ENV: "<%= Rails.env %>",

Could the boolean conversion be done on the server side?
```ruby
OSM.validateStyle = Rails.env != "production"
```

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

Message ID: <openstreetmap/openstreetmap-website/pull/6683/review/3704330861 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260125/3adb2a82/attachment.htm>


More information about the rails-dev mailing list