I've been trying to load KML layers, which I have on my server, to an
instance of Google Maps on my website.  For some reason this task is
proving extremely difficult.  I managed to make my layers work
beautifully in the Google Earth API but for some reason this is
proving terribly difficult on Maps API v3.

My basic question is, given the most simple instance of a map on my
website:

<head>
        <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /
>
        <script type="text/javascript" src="http://maps.google.com/maps/api/
js?sensor=false"></script>
        <script type="text/javascript">
                function initialize() {
                var latlng = new google.maps.LatLng(38.42, -92.53);
                var myOptions = {zoom: 7, center: latlng, mapTypeId:
google.maps.MapTypeId.HYBRID};
                var map = new google.maps.Map(document.getElementById("map"),
myOptions);
                }
        </script>
</head>

<body onload="initialize()">
        <div id="map" style="width:50%; height:70%;position:absolute></div>
</body>

</html>


What method do I need to call to reference a KML: point, polygon, or
line layer on my server?  I've searched everywhere for an answer! Any
help would be deeply appreciated.

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