GoogleWebComponents / google-map

Google Maps web components
https://elements.polymer-project.org/elements/google-map
Other
435 stars 257 forks source link

Demos in webcomponents.org GoogleWebComponents/google-map not working. #386

Open michael-learns opened 6 years ago

michael-learns commented 6 years ago

Hey, the demos for this web component are not working properly.

chenster commented 6 years ago

https://www.webcomponents.org/element/GoogleWebComponents/google-map Works fine for me

michael-learns commented 6 years ago

All 3 demos are still broken for me though

screen shot 2017-08-29 at 11 03 44 am screen shot 2017-08-29 at 11 03 58 am screen shot 2017-08-29 at 11 04 08 am

MGRProgramming commented 6 years ago

The error occurs for the three demos on https://www.webcomponents.org/element/GoogleWebComponents/google-map/elements/google-map The reason for demo 1 not working seems to be the missing api key : <google-map latitude="37.779" longitude="-122.3892" min-zoom="9" max-zoom="11" language="en">

Console:

No Google Maps API Key or Client ID specified. See https://developers.google.com/maps/documentation/javascript/get-api-key for instructions to get started with a key or client id. _computeUrl @ google-maps-api.html:130

The demo on the read.me file works as it has an api key. https://www.webcomponents.org/element/GoogleWebComponents/google-map