Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for WMS on Leaflet when using Polar stereographic #5618

Merged
merged 15 commits into from
Oct 27, 2017
Prev Previous commit
Next Next commit
Updates to fix syntax/ style issues
Cut/paste error and buch of style stuff.
  • Loading branch information
scaddenp authored and perliedman committed Sep 4, 2017
commit 488132eb644685149777ce16c8dbf226490914af
4 changes: 2 additions & 2 deletions src/layer/tile/TileLayer.WMS.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ export var TileLayerWMS = TileLayer.extend({
getTileUrl: function (coords) {

var tileBounds = this._tileCoordsToNwSe(coords),
var nw = this._crs.project(tileBounds[0]),
var se = this._crs.project(tileBounds[1]);
nw = this._crs.project(tileBounds[0]),
se = this._crs.project(tileBounds[1]);
if (se.y > nw.y) {
var temp = nw;
nw = se;
Expand Down