I have a very simple NetworkLink kml (below) file that has a href tag to an 
.aspx file that generates dynamic placemarks (with <Placemark id="1">, 
<name>, <description>, <Point>, <coordinates> as tags).  The NetworkLink 
kml file works in Google earth but not on Google maps (the browser map is 
just a bare map without any placemarks) and I’m at a loss as to why.
NetworkLink kml file:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2";>
    <NetworkLink>
        <name>Ticket Map Add-In</name>
        <Link>
            <href>http://66.230.78.217/getKML.aspx</href>
        </Link>
    </NetworkLink>
</kml>
.js that actually shows (or should show but doesn’t) the placemarks on the 
map:
        window.onload = function () {
            initialize();
        }
        var map;
        var infowindow;
        var service;
        var request;
        
        function initialize() {
            geocoder = new google.maps.Geocoder();
            var startLatLng = new google.maps.LatLng(41.82177, -72.50722);
            map = new 
google.maps.Map(document.getElementById('map_canvas'), {
                mapTypeId: google.maps.MapTypeId.ROADMAP,
                center: startLatLng,
                zoom: 5
            });
            infowindow = new google.maps.InfoWindow();
            
            var ctaLayer = new 
google.maps.KmlLayer('http://66.230.78.217/netLink.kml');
            ctaLayer.setMap(map);
        }
Any explanation of a reason why would be greatly appreciated

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/x_umuuWWuHoJ.
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