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

missing offset prop on map #136

Open
alicerocheman opened this issue Jun 8, 2021 · 2 comments
Open

missing offset prop on map #136

alicerocheman opened this issue Jun 8, 2021 · 2 comments

Comments

@alicerocheman
Copy link

alicerocheman commented Jun 8, 2021

Hello Pigeon maps :)

I'm creating a map that's only a few hundred pixels high, displaying a pin and an open Tooltip inside. The issue is display is broken because the Tooltip doesn't have enough room in height.

I'm looking to add an offset to the "center" of my map, so that the "center" is lower and everything can be displayed properly on top.

I've searched through the docs but this doesn't seem possible :(

@mariusandra
Copy link
Owner

I guess in this case the center should just get as input coordinates that are slightly above the marker's coordinates? It's hard to say without seeing code to be honest.

@albjeremias
Copy link

I guess in this case the center should just get as input coordinates that are slightly above the marker's coordinates? It's hard to say without seeing code to be honest.

that's not possible, because the coordinates, depending on the zoom they will change.

duplicate: #57

i will edit this with some code where we are using pigeon maps :)

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

No branches or pull requests

3 participants