Hi
I have created an App in which Feature Layer service is showing in table with map. i want to add a function to which user click row of table and map should go to exact location.
This process is not working on click event.
Kawish,
Have you verified that res.data.features[0].geometry is not null. Also this looks like a single geometry you are trying to go to so there is no need to make the target property an array.
Robert yes i have checked res.data.features[0].geometry is not null and it is only for testing if it works i set it in loop. Is target property works with out array?
Yes it work with a single geometry object or an array and several other object types that are covered in the help document.
Thank you
So does it work without the square brackets?