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

Floating Panel: Can we get the dimensions in order to set the content insets on the map view? #927

Open
rolson opened this issue Oct 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@rolson
Copy link
Contributor

rolson commented Oct 23, 2024

Is there a way to get the floating panel's location and size so that we can set the content insets accordingly on the mapView? The floating panel resizes and changes location based on device size and orientation. But choosing something like zooming to a feature will not zoom to the right location:

image

In the image above, zooming to the trace results should center the results in the un-obscured part of the mapview. That could happen if we had a way to get the dimensions of the floating panel.

@rolson rolson added the enhancement New feature or request label Oct 23, 2024
@rolson rolson changed the title Floating Panel: Can it set the content insets on the map view? Floating Panel: Can we get the dimensions in order to set the content insets on the map view? Oct 23, 2024
@dfeinzimer
Copy link
Collaborator

Related / potential duplicate of #299

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants