Hey
Neither this...
var kml = new GGeoXml("file.kml",function() {
if (kml.loadedCorrectly()) {
kml.gotoDefaultViewport(map);
}
}
nor this
GEvent.addListener(kml,"load",function() {
[...]
}
runs correctly. The map is centred to the Centerpoint of the KML
region but the Zoomlevel is too high.
I tried to set the Center and Zoom with getDefaultBounds() too, but
this...
kml.getDefaultBounds();
is always null?!?
Any Ideas?
The kml is shown on the map. Only the Zoomlevel is wrong.
greets
Paginator
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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
-~----------~----~----~----~------~----~------~--~---