Select to view content in your preferred language

Edit widget on Update doesnt update unless zoom out (JS 4.30)

82
1
6 hours ago
Mr_Kirkwood
Regular Contributor

I have a Javascript 4.30 app where i am using the Edit Widget. I can drop a point but when i click update on the Edit Window the point disappears unless i zoom out. How do i get it to show thedit as soon as i click on the update button? 

This also happens when moving a point. 

Thanks! 

0 Kudos
1 Reply
Mr_Kirkwood
Regular Contributor

i figured it out for moving and deleting feature

// Listen to edits after they successfully save to the server
pointsLayer.on ("edits", (event) => {
pointsLayer.refresh ();
});

 

0 Kudos