I have a 3D web app. I have a form that users can fill that highlights features that match their selections using the Query functionality. I also have a sidebar that is populated by cards depicting the results of the query. I want users to be able to click on a card and have the matching feature flash on screen to emphasize the feature amongst all the features highlighted from the query, like you can do on ArcGIS Pro, as well as open a popup. I have the popup working, but I can't find anything in the docs that "flashes" features. Does anyone know if this functionality exists?
Solved! Go to Solution.
There isn't any out-of-the-box functionality I know of, but adding it in wouldn't be terribly difficult. The process would look something like this:
1) Get a reference to the feature you want to flash.
2) Create a new Graphic object with the same geometry as the object in step 1.
3) Assign the new graphic a custom symbol depending on geometry type.
4) Add it to the view's graphics collection.
5) After a second or so of a delay, it can then be removed from the view's graphics collection.
There isn't any out-of-the-box functionality I know of, but adding it in wouldn't be terribly difficult. The process would look something like this:
1) Get a reference to the feature you want to flash.
2) Create a new Graphic object with the same geometry as the object in step 1.
3) Assign the new graphic a custom symbol depending on geometry type.
4) Add it to the view's graphics collection.
5) After a second or so of a delay, it can then be removed from the view's graphics collection.
Thank you Joel. I will try this out!