Removed some trailing spaces in 'src/map/Map.js'.
Corrected the way L.Map.locateAndSetView() handles the 'options' parameter so that it is not overriden anymore.
This commit is contained in:
parent
8c428fb660
commit
09279cdc6e
@ -42,7 +42,7 @@ L.Map.include({
|
||||
options = L.Util.extend({
|
||||
maxZoom: maxZoom || Infinity,
|
||||
setView: true
|
||||
});
|
||||
}, options);
|
||||
return this.locate(options);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user