AnsweredAssumed Answered

Can I programmatically select a feature using 4.x?

Question asked by jbrowning_TRIO on Jul 12, 2018
Latest reply on Jul 12, 2018 by rscheitlin

I'm trying to create a "zoom to" function for a list of features that are in a popup related to a currently selected "parent" feature. I can zoom to the feature just fine, but I don't know how to select it. So...given lat/long, is there a way to select a feature? I know 3.x had a selectFeatures function, but I'm not sure if that or something similar exists in 4.x. If not, is there another way to do it? Do I just need to programmatically click the map at the lat/long coordinates and make sure I'm in the right layer? Any assistance is greatly appreciated!

 

-Jason

Outcomes