handle wrapX without calculating excess meridians
override extent validation only if the extent includes parts of two worlds
This commit is contained in:
committed by
Andreas Hocevar
parent
516a75ae22
commit
f6ede1a9c0
@@ -729,7 +729,7 @@ class Graticule extends VectorLayer {
|
||||
center[0] -= (worldsAway * worldWidth);
|
||||
extent[0] -= (worldsAway * worldWidth);
|
||||
extent[2] -= (worldsAway * worldWidth);
|
||||
wrapX = true;
|
||||
wrapX = !containsExtent(projectionExtent, extent);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user