> <script type="text/javascript" src="http://maps.google.com/maps/
> api/
> js?sensor=false">
This load v3 API
> map = new google.maps.Map(document.getElementById("map_canvas"),
> myOptions);
This creates a v3 map ; there is no code to place any KML on that map.
> if (GBrowserIsCompatible()) {
> map = new GMap2(document.getElementById("map_canvas"));
> geoXml = new GGeoXml("socialmap.kml");
This is v2 API code, but as the v2 API has not been loaded it is never
run.
I think this is what you need
http://code.google.com/apis/maps/documentation/javascript/overlays.html#KMLLayers
--
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.