Select to view content in your preferred language

Rings geometry

766
1
01-18-2022 05:05 AM
upanshuvaid
New Contributor II

I have map in which basemap is topo and feature layers as layers of my organization .I have used sketch widget where i have used rectangle to sketch .In rectangle i sketched i am getting rings but value in ring is not correct due to which i am not getting the required results of query using ring values. i have  set x and y coordinates of 1 feature layer only just to get rings but not getting correct values .how i can get correct value of rings so that i can get correct featurelayer results . I have used mapview not sceneview in my mapview of map.

0 Kudos
1 Reply
UndralBatsukh
Esri Regular Contributor

Hi there, 

Is it possible for you to share your code or at least share the relevant code? I don't completely understand the issue you are running into. 

This sample shows how to select features of a layer that intersect a rectangle drawn on the map. https://developers.arcgis.com/javascript/latest/sample-code/highlight-features-by-geometry/

 

 

0 Kudos