fix WMS tile wrapping regression, close #970

This commit is contained in:
Vladimir Agafonkin 2012-12-12 13:19:24 +02:00
parent 782e8e7dcf
commit 58a82d09fa

View File

@ -44,6 +44,8 @@ L.TileLayer.WMS = L.TileLayer.extend({
getTileUrl: function (tilePoint, zoom) { // (Point, Number) -> String
this._adjustTilePoint(tilePoint);
var map = this._map,
crs = map.options.crs,
tileSize = this.options.tileSize,