All Samples
Track Shape Finished Event
The sample demonstrates the TrackShapeFinished event of the map. If you attach handlers to this event, the map will raise a form-submit each time you finish drawing a shape.
Click Event on a Marker
This sample demonstrates the click event on a marker. If you click on the marker, it will raise a form-submit and pass the available information to an action in the controller.
Highlight a Feature While Hovering
This sample shows how to select and highlight a feature specified by hovering over it with your mouse.
Add a Click Event to a HighlightOverlay
This sample demonstrates the use of the click ServerEvent of the HighlightOverlay.
Add a Context Menu to a HighlightOverlay
This samples demonstrates adding a context menu on a HighlightOverlay. If you right-click on a feature contained in the overlay, the context menu will show up; otherwise, nothing will happen.
Find the Differences Between Two Features
This sample shows how to find the differences between two specified features.
Shortest Line Between Features
This sample shows how to calculate the shortest line between features.