Closed PetyaOgurkin closed 6 months ago
@PetyaOgurkin Thank you for your work, I don't currently understand the intent of this logic, can you explain exactly what scenario you are running into the problem in question? I understand that our data is generally in the range of -180 - 180 or 0 - 360.
I understand that you need to address scenarios that are not in the above data range eg 180 - 540
I don't know if I'm understanding you correctly.
This is relevant, for example, for Russia or New Zealand. I have data with extents minLat = 41, maxLat = 82, minLong = 19, maxLong = 192/-168, which I use in the polar projection EPSG:3576.
I tried setting extents in different ways and setting different settings, but I couldn’t achieve the desired result.
With default settings:
translateX: false
wrapX: true
And with my changes:
Will allow to set extents on the border between longitude 180 and -180 in polar projections and will not clip the layer