Can you load Google Maps API v3 via Google AJAX API loader

Posted by Salman A on Stack Overflow See other posts from Stack Overflow or by Salman A
Published on 2011-03-14T08:05:58Z Indexed on 2011/03/14 8:10 UTC
Read the original article Hit count: 938

Some time ago I used the regular method of loading Google Maps API like this:

<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=abcdefg&sensor=true">

Later I switched to Google AJAX APIs to load Google Maps API. This was because a couple of "widgets" on my website needed the Google Ajax API loader so I chose to be consistent and used the AJAX APIs to load Google Maps as well:

<script type="text/javascript" src="http://www.google.com/jsapi?key=abcdef"></script>
<script type="text/javascript">
  google.load("maps", "2", {"other_params": "sensor=true"});
</script>

Now that I have finally decided to use Google Maps API v3, this page does not list API v3 in the available version list. None of the examples on API v3 documentation show the use of AJAX APIs as well. Is is possible (and supported) to load Google Maps API v3 via AJAX API loader?

© Stack Overflow or respective owner

Related posts about google-maps

Related posts about google-maps-api-3