Hi i have a dude.. thats my code..http://158.42.65.72/catapv/
terminales.html
I have a menu to load kml files..
After i load a kml i use geoXml.gotoDefaultViewport(map); to center
view in the kml file. But i dont know how to set zoom after i go to de
kml view..
If i use map.setZoom(15); after geoXml.gotoDefaultViewport(map) it
doesnt runs..
Does someone know how to do it..?
Thanks a lots and sorry for my english.
function loadKml(url) {
map.clearOverlays();
geoXml = new GGeoXml(url);
map.addOverlay(geoXml);
geoXml.gotoDefaultViewport(map);
document.getElementById('kmlurl').value = url;
}
function loadKmlBox() {
loadKml(document.getElementById('kmlurl').value);
}
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" 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-api?hl=en.