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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Updates api key so static map can display #1692

Merged
merged 2 commits into from
Apr 11, 2024
Merged

Conversation

willum070
Copy link
Contributor

Investigation revealed that the static map API key has been set to "YOUR_API_KEY", rendering the live example somewhat useless. Since there's already code on the page to get an API key, I restructured the call to get the key when the page loads, and pass that value to the static map so that it can actually load.

Fixes #1691 馃

Investigation revealed that the static map API key has been set to "YOUR_API_KEY", rendering the live example somewhat useless. Since there's already code on the page to get an API  key, I restructured the call to get the key when the page loads, and pass that value to the static map so that it can actually load.
added a ts-ignore for a VIte bug, does not like `env`.
@willum070 willum070 merged commit 993e0be into main Apr 11, 2024
26 checks passed
@willum070 willum070 deleted the static-map-fix branch April 11, 2024 16:42
@googlemaps-bot
Copy link
Contributor

馃帀 This PR is included in version 3.22.3 馃帀

The release is available on GitHub release

Your semantic-release bot 馃摝馃殌

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

Successfully merging this pull request may close these issues.

Static map does not display as expected
3 participants