The inner text node of a href element must not include spaces.  I
found then when I tried to include a GroundOverlay linked to a file
with spaces... No error raised, the overlays were just wouldn't
display.

The references in question aren't very handy for trouble-shooting

-http://code.google.com/apis/kml/documentation/kmlreference.html#href
-http://code.google.com/apis/kml/documentation/
kmlelementsinmaps.html#viewboundscale
-http://code.google.com/apis/maps/documentation/
reference.html#GGeoXml

  Eventually I made my way over to maps.google.com, which, fortunately
enough, shows errors at the bottom when you plug in a KML file:

   "Parts of [url could not be displayed because it contains
errors ... Line x: <Icon> contains syntax errors "....

 Google Earth doesn't do this automatically for some reason?  For a
while I thought it related to the "viewBoundScale" element being
present and un-supported in web-map... however this was not the case.
Eventually I tried replacing spaces with %20 and this did the trick.
So, I suppose this posting can serve as an FYI for anyone wondering
why their ground overlay isn't displaying when loaded from a KML
file.... without errors.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to