views:

59

answers:

1

When i try to load google maps v3 with ajax the result is:

<script src="http://maps.gstatic.com/intl/en_us/mapfiles/api-3/2/8a/main.js" type="text/javascript"></script>

in the source code, i suppose that writes with javascript document.write();

how i can do this without iframe?

thanks.

A: 

This is not supported. Please load the API using supported methods:

http://code.google.com/apis/maps/documentation/javascript/tutorial.html#Loading_the_Maps_API

or, using the AJAX API:

http://code.google.com/apis/ajax/documentation/ with google.load('maps', '3');

broady
thanks, i can't vote you i don't have reputation :(
ZiTAL