AnsweredAssumed Answered

Upgrading from 10.1 - MouseOver, Animated Symbols

Question asked by microworks on Sep 15, 2017
Latest reply on Sep 15, 2017 by mnielsen-esristaff

Currently trying to 'upgrade' from 10.1 to 100.1 - some surprising missing functionality...

a) Mouse Over graphics event has been omitted in 100.1. MouseOver is a fundamental expectation in user functionality and it is difficult to understand how a decision was made to omit this from 100.1 which is intended to be an upgrade from the original 'basic' model 10.1. A workaround has been suggested on the Forum to detect for Mouse stopped moving through various timer techniques.

b) We used Animated Strobe Symbols very effectively in 10.1 to highlight selected Symbols via XAML Storyboard and MarkerSymbol.ControlTemplate. We see on Forum that ControlTemplate has been omitted in 100.1 and therefore Animated Symbol feature not possible. As this was a very important feature for our application, we experimented to find a workaround - this technique works surprisingly well and it is not possible to detect the difference from the original Animated Symbol..
a) Generate the Animated Symbol within a WPF User Control
b) When Graphic is selected via GeoViewTapped or code selection, detect Coordinates of Graphic - Convert to Screen Coordinates - position WPF User Control on the screen point - this is effectively sitting on top of the MapView.
c) On ViewPointChanged - read the Selected Graphic screen coordinates and re-position the WPF UserControl to follow it.

Outcomes