Hello,

I apologize if this is a simple question; I'm fairly new to Google
Maps API.

My question is where does one place the maxWidth property for
infowindows when using a KML file? I see how to place the maxWidth:
200; line when just using content in the API webpage, but not sure
where it would go when pulling from a KML file.

Here's what I have in my script around the KML file (apologies if the
code doesn't go through):

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


var ctaLayer = new google.maps.KmlLayer('http://************.com/
mykmlfile.kml');
ctaLayer.setMap(map);
ctaLayer.preserveViewport = true;
google.maps.event.addListener(marker, 'click', function() {
  infowindow.open(map,marker);

});

 }

Any help would be appreciated!

-Ben

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