Skip to content

Commit

Permalink
Merge pull request #186 from chrisbateskeegan/master
Browse files Browse the repository at this point in the history
FIX for Issue 185.
  • Loading branch information
ebidel committed Aug 18, 2015
2 parents d0cf204 + e5ab7d7 commit b4a5df4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google-map.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

</style>
<template>
<google-maps-api
<google-maps-api id="api"
api-key="[[apiKey]]"
client-id="[[clientId]]"
version="[[version]]"
Expand Down Expand Up @@ -371,7 +371,7 @@
if (this.map) {
return; // already initialized
}
if (!(window.google && window.google.maps)) {
if (this.$.api.libraryLoaded !== true) {
return; // api not loaded
}
if (!this.isAttached) {
Expand Down

0 comments on commit b4a5df4

Please sign in to comment.