Clear or Update Map Service Highlights with Update Interval configured
Hi,

I've got a couple of layers from a map service that's been configured to update every 10 seconds (Update Interval configured) and map tip enabled. When a feature from one of the layers is clicked on the map window, the feature is pushpinned and highlighted.
However as the map service/layer is updated after 10 seconds causing it's location to change, the pushpin and highlight is still showing and stays on the previous location. How can I configure the layer so that the pushpin and highlights are cleared as the map service is updated and better yet, update the pushpin and highlight to the feature's location.
Feature from the layer selected

State of the map window after triggering the 10 seconds update interval for the map service

0
-
Hi Noel,
The highlighted results are stored separately than the visible features, so they will become unsynchronized if the features change due to a data update. There is currently no way to have the highlights automatically update without some custom development.
If you're keen on creating a custom module that would do this task I would check out the LayerUpdatedEvent and FSMCollectionChangedEvent - those might help you keep track of what is in the Identify results and when the layer is updated.
Otherwise, you can post an Idea to the Ideas section here, or contact your reseller to have the customization done for you!
Regards,
-Malcolm0
Please sign in to leave a comment.
Comments
1 comment