Hi All,
I'm am trying to create a FeatureLayer that updates in real time in the ArcGIS API for JavaScript in 4.x. I seem to be able to update my graphic object (change the geometry) and it looks right when I print it out the console. But the graphic doesn't seem to move on the map. The only way I seem to be able to get it to move is to remove it from the layer and add a new graphic. Am I missing something? Is what I'm trying to do possible?
Gabe
Gabriel,
According to the 4.x functionality matrix:
Functionality matrix | ArcGIS API for JavaScript 4.2
I just wrote about this.
Quick Tip - Clone in ArcGIS JSAPI - odoenet
Here is a demo app
JS Bin - Collaborative JavaScript Debugging
It's not real editing, but can be useful.
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.