You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
A clear and concise description of what you expected to happen.
This will only work as expected if the MapView is full screen ie in a FloatLayout and there is no size hint less than 1.0.
In the BoxLayout example, the only way to make it work correctly is to change the function as below to remove the size of the lower buttons from the y coordinate:
Describe the bug
When a mapview is not fullscreen, the function MapView.get_window_xy_from() does not return the correct pixels coordinates
To Reproduce
Code example showing the issue:
Given the kv:
And given a call to the
mapview.get_window_xy_from
in code like thus:will return incorrect coordinates.
Expected behavior
A clear and concise description of what you expected to happen.
This will only work as expected if the MapView is full screen ie in a FloatLayout and there is no size hint less than 1.0.
In the BoxLayout example, the only way to make it work correctly is to change the function as below to remove the size of the lower buttons from the y coordinate:
Logs/output
If applicable, add screenshots to help explain your problem.
Platform (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: