From 6e966dee6ceba839947185de8862834d22b55dcf Mon Sep 17 00:00:00 2001 From: j Date: Fri, 21 Jul 2023 11:18:44 +0100 Subject: [PATCH] union->extend --- source/UI/js/Map/LeafletMapMarker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/UI/js/Map/LeafletMapMarker.js b/source/UI/js/Map/LeafletMapMarker.js index 69495da8..96fb8803 100644 --- a/source/UI/js/Map/LeafletMapMarker.js +++ b/source/UI/js/Map/LeafletMapMarker.js @@ -67,7 +67,7 @@ Ox.LeafletMapMarker = function(options) { new L.LatLng(place.south, place.west), new L.LatLng(place.north, place.east) ); - // bounds = bounds.union(that.place.bounds); + bounds = bounds.extend(that.place.bounds); southWest = bounds.getSouthWest(); northEast = bounds.getNorthEast(); that.map.newPlace(new Ox.LeafletMapPlace({