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

feat: add static maps component with SSR support #633

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

mrMetalWood
Copy link
Collaborator

@mrMetalWood mrMetalWood commented Dec 9, 2024

  • Make the Static Maps Api (https://developers.google.com/maps/documentation/maps-static/start) available via a StaticMap component and a createStaticMapsUrl helper function. The helper functions main purpose is to help with server side "url signing" which could look very different depending on the individual setup.
  • experiment with SSR support for the new static-map component. Export the StaticMap component from a new @vis.gl/react-google-maps/server endpoint which can be used for SSR. It is also exported from the main entry @vis.gl/react-google-maps

@mrMetalWood mrMetalWood marked this pull request as ready for review December 16, 2024 10:50
@mrMetalWood mrMetalWood changed the title feat(static): first version of static maps component with SSR support feat: add static maps component with SSR support Dec 16, 2024
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

Successfully merging this pull request may close these issues.

1 participant