I have a problem that has me completely baffled. I have a google map embedded in my webpage using the Javascript API V3. When I click a button, some javascript runs that adds a KML overlay. For testing purposes I am using the KML from http://gmaps-samples.googlecode.com/svn/trunk/ggeoxml/cta.kml. This all works properly, the map displays the lines from that KML file.
Next, I downloaded the above sample KML file to our server, and changed the URL in my Javascript to point to our server. This broke things- not only did the lines from the KML file not show up, but I don't even see any evidence of anything attempting to access our server. Thinking that I had a typo in my url, I went to the google earth app and copied the URL from my Javascript into the Google Earth app. Lo and behold, it worked perfectly- the lines drew, and I saw the access in my logs. The only thing that changed in my javascript from when it did work to when it didn't was the URL, and the URL works fine in Google Earth. What am I missing here? Thanks. -- 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.
