Timeline for Retrieve coordinates of selected feature with the ArcGIS API for JavaScript
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 16, 2019 at 18:16 | comment | added | Andre Silva | @Joy, if Berend's answer helped you find the solution, it means it was useful. You can upvote it. See: gis.stackexchange.com/help/someone-answers. Tks. | |
Feb 28, 2019 at 12:28 | comment | added | Joy | @ Berend sorry for the confusion, my question was not that well formulated, what I meant to say is whether I could apply the properties of the polygon function to the graphic object and I managed to do that with the hint you gave (geometry.type) and instead I used geometry.centroid.latitude. Thank you very much for the hint | |
Feb 28, 2019 at 12:23 | comment | added | Berend | I'm not sure I understand that last comment ('Do you know by any change how I can use the graph object in the Polygon function'), could you explain what you want exactly? Or even better, post a new question? | |
Feb 28, 2019 at 9:17 | comment | added | Berend |
That isn't relevant, a featurelayer is based on features, which are of type graphic .
|
|
Feb 28, 2019 at 9:06 | comment | added | Joy | Hi Berend, thank for the explanation, unfortunately my layer is a feature layer, I forgot to mention it. But thanks for explaining in case when the object was graphic object. | |
Feb 28, 2019 at 8:51 | history | answered | Berend | CC BY-SA 4.0 |