I have added to my kml , but I can not figure out why my kml doesn't
display.
Also I would like to use use EGeoXml to to add the kml to my sidebar.
Thanks for your help.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/
>
<title>Google Maps Example</title>
<script src="http://maps.google.com/maps?
file=api&v=2&key=ABQIAAAAJyjPw8SMz53Sl5MslKc6PhTHkjceoYOI_KrVbJoE81w8w6bwfBROrj8aS0EQCRU1nCh-
sk9r3MSkBA"
<script src="egeoxml.js" type="text/javascript"></script>
</head>
<body>
<table border=1>
<tr>
<td>
<div id="map" style="width: 550px; height: 450px"></div>
</td>
<td width = 150 valign="top" >
<div id="the_side_bar"></div>
</td>
</tr>
</table>
<form action="#">
<input type="button" value="Hide" onclick="exml.hide()" />
<input type="button" value="Show" onclick="exml.show()" />
</form>
<a href="egeoxml.htm">Back to the tutorial page</a>
<script type="text/javascript">
//<![CDATA[
var map = new GMap2(document.getElementById("map"));
map.setMapType(G_HYBRID_MAP);
map.setCenter(new GLatLng(54, -4), 6);
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.enableScrollWheelZoom();
map.enableGoogleBar();
var exml = new EGeoXml("exml", mmap, "test001.xml",
{sidebarid:"the_side_bar",sortbyname:true,iwwidth:
300,directions:true});
exml.parse();
//]]>
</script>
</body>
On Mar 5, 5:35 pm, Ralph Ames <[email protected]> wrote:
> This might helphttp://econym.org.uk/gmap/egeoxml.htm
>
> Ralph
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---