Hi @Ethan, I'm getting some weird behavior of the map. when applying EPSG:3857 to shape file projection but working correctly ESRI:54004 . Just Check the sample also after adding graticule that custom polyshape is changing.
For EPSG:3857 add graticule also and check it.
9229.zip (179.7 KB)
Do you means the "tolerance condition error" appear when 54004, but not for 3857?
If that's the problem you mentioned, please wait our research and fix.
If you means other issue please let us know.
Actually when i'm adding 3857 projection all the polygons and graticule getting some weird spikes
Projection don't support multiply threading, but the overlays refresh multiply threading.
So please change your code follow our sample:
9229.zip (179.1 KB)
You can add all the layers into the same overlay to avoid this problem, or assign different projection instance for all layers in each overlay.
hey @Ethan, What is the advantage if i do like this instead of Creating one projection object and use that in all places?
It can solve the strange looks problem you mentioned.