Hello All,
I'm using JSAPI 4.22 and have some simple polygons which cross the antimeridian and of course are not drawing correctly. I'm trying to split them and have tried two methods, neither of which have been successful.
1) geometryEngine.cut()
If the cut line is on meridian -180/180, an empty array of geometries is returned. It works as expected if using some other meridian.
2) normalizeUtils.normalizeCentralMeridian()
This only seems to split geometries that have longitude values > 180. For example, if the longitude values range from 179 to -179, the original geometry is returned unmodified.
Can anyone please explain what I'm missing or suggest an alternative?
Thanks!
--john