So far, we've created maps and scenes, added layers, learned about geometry and symbology, and so on, but now we need to learn about displaying and interacting with the map or scene. Adding information such as graphics has already been discussed, but what if you want to see the mouse's coordinates in latitude/longitude? What if you have lots of layers and want to have overlays (map tips) for each one of them that are customized for the layer? How do you show a legend, so users can discern what is on the map? Lastly, how do you show your location on the map or scene? All of these are questions that production-level apps need to address so that users can quickly understand what is being presented and where they are. In this chapter, we will discuss the following topics:
MVVM mouse events
Labeling
Legend
Scale bar
Overlays
Showing locations