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:
Jonathan DERROUGH 2012-01-11 20:18:06 +01:00
parent 8c428fb660
commit 09279cdc6e
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ L.Map.include({
options = L.Util.extend({
maxZoom: maxZoom || Infinity,
setView: true
});
}, options);
return this.locate(options);
},