Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Change center map should be the "changed" signal not the on_button_release #68
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