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

Mistake #24

Open
modster opened this issue Mar 7, 2022 · 0 comments
Open

Mistake #24

modster opened this issue Mar 7, 2022 · 0 comments

Comments

@modster
Copy link

modster commented Mar 7, 2022

There is a mistake on line 25, page 5 of Add a map to your website (JavaScript)

loader.then(() => {
   console.log('Maps JS API loaded');
   const map = displayMap();
});

It should be:

loader.load().then(() => {
  console.log("Maps JS API loaded");
  const map = displayMap();
});
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

1 participant