On May 26, 10:20 pm, Jack Berberette <[email protected]> wrote:
>
> Here's my map:http://www.vaviper.org/viperapp.html
>
theres a problem with this map because it is loading the V3 API twice:

<script type="text/javascript" src="http://maps.google.com/maps/api/js?
v=3.1&sensor=true"></script>
<script type="text/javascript">//Delay Loading of the Map API until
the DOM structure has rendered (but not necessarily all of the
images).
document.addEventListener('DOMContentLoaded', function () {
        var element = document.createElement('script');
        element.src = 'http://maps.google.com/maps/api/js?
v=3.1&sensor=true&callback=initialize';
        element.type = 'text/javascript';
        document.body.appendChild(element);
    }, false);

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to