Hello, I have added a google maps api to a blog site, and works fine. But now I would like to add a KML file (from a public server) and it doesn't work. Any ideas to fix the code in blue? > > function initialize() { > var mapOptions = { > zoom: <?php get_option_tree('zoom', '', true); ?>, > mapTypeId: google.maps.MapTypeId.<?php get_option_tree('map_type', > '', true); ?>, > center: stockholm > }; > > map = new google.maps.Map(document.getElementById("map_canvas"), > mapOptions); > > var kml = new GGeoXml("http://www.mydomain.com/name.kml"); > map.addOverlay(kml) > }
-- 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/-/_xIHHKBxupMJ. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.