Select to view content in your preferred language

Get the range of the layer displayed

381
1
08-19-2022 09:45 PM
Storylm
Occasional Contributor

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
Emerging Contributor

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