Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapControl, mouse button up, possibility to control MARGIN #6

Closed
pauldendulk opened this issue May 7, 2014 · 1 comment
Closed

Comments

@pauldendulk
Copy link
Member

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 layers)

var margin = 16 * Viewport.Resolution;

@pauldendulk pauldendulk added this to the backlog milestone Nov 1, 2016
@pauldendulk
Copy link
Member Author

This should be fixed in #129

pauldendulk pushed a commit that referenced this issue Apr 4, 2017
pauldendulk pushed a commit that referenced this issue Jan 23, 2019
Catchup with Mapsui/Mapsui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant