2

Closed

MapControl, mouse button up, possibility to control MARGIN

description

Hi,
I have a suggestion for MapControl interface modification.
I need a possibility to virtually extend the margin that is used to detect left mouse click on a feature in a map.
Is there any reason for „16“ to magic number? Could it be a property (with public setter) which would have default value of 16?

MapControl:
private MouseInfoEventArgs GetMouseInfoEventArgs(Point mousePosition, IEnumerable<ILayer> layers)

var margin = 16 * Viewport.Resolution;
Closed May 7, 2014 at 1:13 PM by pauldendulk
moved to github issue

comments