Merge pull request #2725 from werk85/master

Bugfix for #2704
This commit is contained in:
Vladimir Agafonkin 2014-06-04 15:05:15 +03:00
commit 737e57fb94

View File

@ -324,7 +324,7 @@ L.GridLayer = L.Layer.extend({
_tileCoordsToBounds: function (coords) {
var map = this._map,
tileSize = this.options.tileSize,
tileSize = this._getTileSize(),
nwPoint = coords.multiplyBy(tileSize),
sePoint = nwPoint.add([tileSize, tileSize]),