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

Change center map should be the "changed" signal not the on_button_release #68

Open
programmin1 opened this issue Dec 22, 2019 · 0 comments
Open

Comments

@programmin1
Copy link

@programmin1 programmin1 commented Dec 22, 2019

The "map centre" is not accurate in the on_button_release event. Drag the map a long bit, then notice that lat/lon is inaccurate, it updates when you click (mousedown,mouseup) the map. So it seems the example should be using the "changed" signal which happens after the change, not button-release which happens before the central coordinate is changed.

I'm referring to the example code, https://github.com/nzjrs/osm-gps-map/blob/master/examples/mapviewer.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.