Re: [visualization-api] Using jsapi with google maps JavaScript API

2015-02-09 Thread 'Daniel LaLiberte' via Google Visualization API
The empty script is need only because your first script line to load jsapi
is not actually closed.  The / at the end of the tag doesn't work, and so
the script tag will eat up all the content until if finds a proper closing
script tag: /script.  Yes, it is not obvious, and we wrestled with a
similar case ourselves very recently.

On Sat, Feb 7, 2015 at 11:52 PM, Alex roj...@gmail.com wrote:

 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=3key=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 google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to
 google-visualization-api@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.




-- 
Daniel LaLiberte https://plus.google.com/100631381223468223275?prsrc=2  -
978-394-1058
dlalibe...@google.com dlalibe...@google.com   5CC, Cambridge MA
daniel.lalibe...@gmail.com daniel.lalibe...@gmail.com 9 Juniper Ridge
Road, Acton MA

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Using jsapi with google maps JavaScript API

2015-02-09 Thread Alex Rojkov
That's correct. Verified.

On Mon, Feb 9, 2015 at 7:58 AM, 'Daniel LaLiberte' via Google
Visualization API google-visualization-api@googlegroups.com wrote:
 The empty script is need only because your first script line to load jsapi
 is not actually closed.  The / at the end of the tag doesn't work, and so
 the script tag will eat up all the content until if finds a proper closing
 script tag: /script.  Yes, it is not obvious, and we wrestled with a
 similar case ourselves very recently.

 On Sat, Feb 7, 2015 at 11:52 PM, Alex roj...@gmail.com wrote:

 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=3key=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 google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to
 google-visualization-api@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.




 --
 Daniel LaLiberte  - 978-394-1058
 dlalibe...@google.com   5CC, Cambridge MA
 daniel.lalibe...@gmail.com 9 Juniper Ridge Road, Acton MA

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Visualization API group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-visualization-api/3XT2uKuhYRc/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 google-visualization-api+unsubscr...@googlegroups.com.
 To post to this group, send email to
 google-visualization-api@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-visualization-api.
 For more options, visit https://groups.google.com/d/optout.

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.


[visualization-api] Using jsapi with google maps JavaScript API

2015-02-07 Thread Alex
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=3key=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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
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