diff --git a/inst/htmlwidgets/google_map.js b/inst/htmlwidgets/google_map.js index fda3bdf8..1729a906 100644 --- a/inst/htmlwidgets/google_map.js +++ b/inst/htmlwidgets/google_map.js @@ -83,7 +83,7 @@ HTMLWidgets.widget({ //global map object window[el.id + 'map'] = map; - if (google !== undefined) { + if (google !== undefined && google.charts !== undefined ) { //console.log("exists"); clearInterval(checkExists);