Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

New Post: Multiselect features

$
0
0
I see two possible solutions.
  1. You could remember all the states that were selected before the SelectionChanged event and then check those against the selected features in the SelectionChanged event. Then you'd see which features got de-/selected.
  2. You could write your own function extending MapFunctionSelect and handle the OnMouseUp event. There you could go and check which feature was below the mouseclick and whether it was selected or not.

Viewing all articles
Browse latest Browse all 3973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>