hi i allready tried the file method and it does not work or did i
something wrong? i dont realy know what to put in the GDownloarUrl
and i the fact why i dont want to use a web server is that i generate
a kml file through a program i have written and want to show it in GE
or GM automaticaly. GE is working fine but not GM.
function load() {
var map;
var geoXml;
GDownloadUrl("file:///C:/data.kml", function(data,
responseCode) {
if (GBrowserIsCompatible()) {
geoXml = new GGeoXml("file:///C:/data.kml");
map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.addMapType(G_SATELLITE_3D_MAP);
map.addOverlay(geoXml);
}
});
}
thrid party parsers would be great if u can tell me how to use them or
where i find excamples or a how to
there is still the option with the simple XML parser if u can tell me
if there is an oportunity to user custom icons because now there is no
icon defined and GM is using a standard icon
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---