Thank you geocodeZip, I've just found this was the way to make it !
Here is the right vode to do this, for thos who might have the same
problem:
var latlng = new google.maps.LatLng(-46,-45);
var myOptions = {
zoom: 3,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);
var kmlLayerOptions = {map:map, preserveViewport:true}; //map:display
kml layer on created map object called "map"; preserveViewport:
preserve maps options
var kml = new
google.maps.KmlLayer("http://maps.google.fr/maps/ms?ie=UTF8&hl=fr&vps=1&jsv=303c&msa=0&output=nl&msid=108756802999076364551.00046ca4b6b21667bcdba",kmlLayerOptions);
--
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.