On Oct 31, 2:11 pm, KyleS <[email protected]> wrote: > I'm having a trouble getting a KML file to display (polygon) on a map. > Individual markers are appearing on the map as normal. I've tried about > as many iterations as I can think of with no luck (and am probably > missing something very simple). > > The page w/ the map is:http://bit.ly/d95XsY > The KML file referenced is:http://bit.ly/cOInbf
It doesn't look like that kml is valid: http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fbit.ly%2FcOInbf It works with geoxml3: http://www.geocodezip.com/geoxml3_test/v3_geoxml3_ncaudubonblog_org_KML.html but it looks like there might be something wrong with the color. One of the polygons shows up on google maps: http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=http:%2F%2Fbit.ly%2FcOInbf&sll=37.0625,-95.677068&sspn=50.910968,78.837891&ie=UTF8&ll=36.399316,-81.460018&spn=0.10197,0.15398&z=13 Which reminds me of this thread: http://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/80478dcbc302cf88/46df67b27525c906?lnk=gst&q=geocodezip+geoxml3#46df67b27525c906 > Chad Killingsworth wrote: > If you have more than one placemark, your placemark nodes need to be > wrapped in a <Document> node. You can always test your kml by loading > it in Google Earth and at maps.google.com (put the kml url in the search > bar). > Your kml seems to have a similar problem, but you seem to have <Document> nodes, maybe it has to do with the invalid style. --- Larry > > I've tried working with smaller polygons (e.g. a square), but these > were not displayed either. > > Any comments/suggestions are greatly appreciated. > > ~ Kyle -- 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.
