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

Enhancement: Update PlaceMarker component to allow custom zoom/buffer #259

Open
ajolipa opened this issue Mar 7, 2024 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@ajolipa
Copy link
Contributor

ajolipa commented Mar 7, 2024

Currently there is no way to pass a user-specified default zoom level to the PlaceMarker component, which would be useful for some use cases (e.g. Ground Beneath our Feet embedded maps in posts). This could be accomplished via a buffer prop perhaps, and/or through a default zoom level which is then passed to the map.flyTo or map.jumpTo method when the map is loaded or the place URL updated. (Relevant documentation for the latter here: https://docs.maptiler.com/sdk-js/api/map/)

@ajolipa ajolipa added the enhancement New feature or request label Mar 7, 2024
@ajolipa ajolipa linked a pull request Mar 11, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant