Skip to content
Advertisement

Load google maps v3 dynamically with ajax

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.

Advertisement

Answer

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

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement