> I have a KML which contains one and only one placemark. I'd like to
> generate a map where the placemark is in the center of the map and the
> zoom is around level 15 or so.

For an sideways approach, try including something else in the KML - an
invisible polygon around your single placemark, that will force the
map to zoom to accomodate it.

> Is there a callback or something so I
> can set the zoom level after the kmlLayer is done loading?

Previous discussion -
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/450e5f6f6424ec2d/ab22500dc380d3b4?lnk=gst&q=kmllayer+loaded+event#ab22500dc380d3b4

> A secondary question: is there a way to "parse" the kml

http://code.google.com/p/geoxml3/

If you are going to parse the KML client-side, you may as well render
it yourself too and not use the remotely constructed kmlLayer

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