[openstreetmap/openstreetmap-website] Use baselayerchange/overlaylayerchange instead of layeradd/layerremove (PR #5474)
Roman Deev
notifications at github.com
Thu Jan 16 16:39:09 UTC 2025
@deevroman commented on this pull request.
> this.addLayer(this.baseLayers[i]);
} else {
+ baselayerChanged = this.hasLayer(this.baseLayers[i]);
It seems that `"baselayerchange overlaylayerchange"` will work in this place
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5474#discussion_r1918869676
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5474/review/2556689512 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250116/ce7bf9e4/attachment.htm>
More information about the rails-dev
mailing list