Have used a demo script to place a  KMZ file  the script get the content 
 to display in an area to the side of the map I have tried various option 
and sample to  try and get the overlays to function as normal  but none 
seem to work  other than this script   the others  show  the map and 
overlays but  will not click 

http://www.stpetersfield1.zee.com/googlemaptest.html

Appreciate any help

<script type="text/javascript">
function initialize() {
  var myLatlng = new google.maps.LatLng(53.485683554769125, 
-2.1006202697753906);
  var myOptions = {
    zoom: 14,
    center: myLatlng,
    mapTypeId: google.maps.MapTypeId.HYBRID
  };

  var map = new google.maps.Map(
      document.getElementById("map_canvas"),
      myOptions);

  var nyLayer = new google.maps.KmlLayer(
      'http://www.stpetersfield1.zee.com/StPetersfield.kmz',
      {  suppressInfoWindows: true,
         map: map,
         preserveViewport: true
                 });

  google.maps.event.addListener(nyLayer, 'click', function(kmlEvent) {
    var text = kmlEvent.featureData.description;
    showInContentWindow(text);
  });

  function showInContentWindow(text) {
    var sidediv = document.getElementById('content_window');
    sidediv.innerHTML = text;
  }
}
</script>

-- 
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/-/CwuNSFUuO34J.
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