@tomhughes commented on this pull request.

I think it's probably a bit silly moving `CombinedControlGroup` to 
`maplibre/dom_util` in one commit and then moving it again to 
`maplibre/controls` in the next one - why not just move it directly to the 
final location in the first commit?

> @@ -0,0 +1,48 @@
+//= require maplibre-gl/dist/maplibre-gl
+//= require maplibre/controls
+//= require maplibre/dom_util
+//= require maplibre/styles
+
+maplibregl.Map.prototype._getUIString = function (key) {

As we're already extending the map class can we not just put a replacement 
`_getUIString` there rather than monkey patching maplibregl? or would that not 
work?

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

Message ID: 
<openstreetmap/openstreetmap-website/pull/6726/review/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to