union->extend
This commit is contained in:
parent
ae2b1854aa
commit
6e966dee6c
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue