Get the range of the layer displayed

265
1
08-19-2022 09:45 PM
Storylm
New Contributor II

I expect that only the Featurelayer in the range will be displayed after clicking the point. Is there any way to achieve this phenomenon?

Example link:https://codepen.io/storylm/pen/ZExwEGj 

Tags (2)
0 Kudos
1 Reply
GeoJason
New Contributor III

I am not sure what you are asking for but you can simply return a feature by configuring its pop-up. depending on the zoom scale you can return a range of features.  If you are looking for using a specific range for selections check out the geometryEngine buffer() 

0 Kudos