Dear all,
I am a very newbie in Google Map API.
I just try to embed a Google Map in my website developing with a maker on 
it.
However, I have faced a problem when initializing my Google Map that it 
seems loaded with wrong viewport location

<https://lh3.googleusercontent.com/_6JR5S7j0iKg/Tbh4oaf9ckI/AAAAAAAAAHI/-S8qBSl6TAw/Error.jpg>

However, I have no idea about what is problem about that.
Please, suggest anything i did.

Thank you very much.

The following is the code to init. the map I use php to print the javascript 
and it will be called when the element gm_0 is ready:

    <script type="application/javascript">
    $("#gm_0").ready(function(){
    var latlng = new google.maps.LatLng(xx.xxxxxxxxx, yyy.yyyyyyyyyy);
    var myOptions = {
        zoom: 12,
        center: latlng, 
        noClear: true, 
        mapTypeControl: false, 
        mapTypeId: google.maps.MapTypeId.ROADMAP
    };
    var map = new google.maps.Map(document.getElementById("gm_0"), 
myOptions);
    });
    </script>

-- 
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