Does "My Maps" support images within self-contained KMZ files?

19 views
Skip to first unread message

wb

unread,
Nov 18, 2009, 4:19:52 PM11/18/09
to KML Developer Support - Getting Started with KML
My apologies if this is the wrong group for this question. Please
direct me to the appropriate forum if I'm off-topic.

I have a small self-contained .kmz file that includes an image, and a
reference to that image in the description field of a placemark. The
description is consists of html within a CDATA:

<description>
<![CDATA[
<img src="images/image-0-0.jpg" height="100" width="100"> my image
]]>
</description>

If I import the file into Google Earth, the image is displayed
correctly.

When I create a new map in Google Maps "My Maps" and upload the kmz
file, the image does not display in the info bubble for the placemark.
Instead, I get a missing image. It also appears to have rewritten the
description HTML to:

<img src="/mapsatt?id=inline+document&amp;f=images/image-0-0.jpg"
height="100" width="100"> my image

I'd like to be able to upload the kml file and associated resources as
a single unit that is hosted on My Maps, but it appears that might not
be supported. Can anyone confirm this, or point out my error?

Thanks.

barryhunter (KML Guru)

unread,
Nov 23, 2009, 11:51:44 AM11/23/09
to KML Developer Support - Getting Started with KML
No this is not supported. I dont think its possible to host images
withing My Maps


However you can host your KMZ file online elsewhere* - and paste the
URL into the Google Maps search box.



* sites.google.com can be used.

On Nov 18, 9:19 pm, wb wrote:
> My apologies if this is the wrong group for this question. Please
> direct me to the appropriate forum if I'm off-topic.
>
> I have a small self-contained .kmz file that includes an image, and a
> reference to that image in the description field of a placemark. The
> description is consists of html within a  CDATA:
>
> <description>
> <![CDATA[
> <img src="images/image-0-0.jpg" height="100" width="100"> my image
> ]]>
> </description>
>
> If I import the file into Google Earth, the image is displayed
> correctly.
>
> When I create a new map in Google Maps "My Maps" and upload the kmz
> file, the image does not display in the info bubble for the placemark.
> Instead, I get a missing image. It also appears to have rewritten the
> description HTML to:
>
> <img src="/mapsatt?id=inline+document&f=images/image-0-0.jpg"

wb

unread,
Dec 17, 2009, 4:59:57 PM12/17/09
to KML Developer Support - Getting Started with KML
Thanks.
Reply all
Reply to author
Forward
0 new messages