union->extend

This commit is contained in:
j 2023-07-21 11:18:44 +01:00
parent ae2b1854aa
commit 6e966dee6c

View file

@ -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({