I'm using the SketchViewModel to draw regions on a 3d scene. I'm not able to draw anything that crosses the 180th meridian. I've noticed the same issue with the pre-built Sketch widget. Is this a hard limitation of drawing graphics on a globe or is there some property I'm missing or workaround?
Thanks!
We've fixed the issue for the December release Michael. If you want to, you can already try it out with the latest build: Sketch over dateline example. Let us know if you find any issues in the feedback repo.
Unfortunately this is a bug in the API and we don't have a workaround at the moment. We have an issue open for it and we'll look into it. Sorry about the inconvenience.
I've noticed the measurement widget is able to draw lines over the 180th meridian, but I haven't been able to identify why that's the case. Is that behavior something that I can duplicate somehow when adding graphics to a graphics layer?
Great! Thank you for the update.
This seems to be working beautifully. I'm using esri-loader. What happens to 'next' when this version is released in December? Is there a good way to cleanly transition from next to the official release version?
Happy to hear that it works!
next is the current development build and it is meant to be used to try out new features and see that they work for your use case. For production ready apps only use the official release version. Once we release in december, next will be the development build reflecting the 4.15 release...
Hope this helps, let me know if you have any other questions.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.