I just spend some time figuring out how to use Google Maps API 
with https://www.google.com/jsapi and wanted to leave a trace since 
it's not obvious.

Include the https://www.google.com/jsapi first, because it doesn't || on 
the window.google object. Next, place an empty <script/>. Next, 
include https://maps.googleapis.com/maps/api/js as so:

  <script type="text/javascript" src="https://www.google.com/jsapi"/>

  <script type="text/javascript">
  </script>

  <script 
src="https://maps.googleapis.com/maps/api/js?v=3&key=XXX";></script>




-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.
Title: Examples. Displaying a map on an HTML page.

Displaying a map on an HTML page

Reply via email to