On Apr 4, 6:05 am, "geocode...@gmail.com" <geocode...@gmail.com>
wrote:
> On Apr 4, 12:11 am, "Enoch Lau (Google Employee)"<enoch...@google.com> wrote:
> > We took a look and it appears that this file wasn't detected as a valid KML
> > file by the rendering engine. To fix this, you could:
>
> >    - Remove the comments between the kml & kml tags at the top of the file
>
> Why would comments cause validation to fail?
>
> >    - Rename to .kml
>
> This has never been required before.  My server doesn't let me
> serve .kml; .xml files have always worked fine with Google Maps
> before.
>
> >    - Set the content type to be   Content-Type:
> >    application/vnd.google-earth.kml+xml
>
> again, this is a change; plain xml has always worked before now (and
> continues to I believe)
Example:
http://maps.google.com/maps?q=http:%2F%2Fwww.geocodezip.com%2Fgeoxml3_test%2Fus_states_HI.xml&hl=en&sll=37.0625,-95.677068&sspn=38.41771,86.572266&t=m&z=7

   -- Larry

>
>
>
>
>
>
>
>
> > To assist with debugging, KmlLayer now has a status 
> > property:https://developers.google.com/maps/documentation/javascript/reference...
> > In this particular instance, the status was INVALID_DOCUMENT.
>
> > Enoch
>
> > On Friday, 30 March 2012 00:06:27 UTC+11, rmcguire wrote:
>
> > > Could someone please look at my page at
> > >www.meadowlarkco.com/regulationsmap2.html
> > > and tell me why my borders around my states aren't showing up and
> > > hence why my infowindows don't display?
>
> > > 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 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.

Reply via email to