> In this moment the kmz contains only the kml file,
> all resources (images for placemark and images inside the balloons)
> are outside in sdvimg folder;

I can only guess what goes wrong in the KMZ that you started with, but
still aren't showing us.
In the current KML, you have content like
    <img src="sdvimg/campisi.jpg" ....
Because that's not a fully qualified URL, whatever you are using to
render it has to guess what path you really mean.
In this case, that's a HTML image inside an infowindow (balloon) ; it
will be rendered by the browser.  Browsers always guess that you mean
something relative to the webpage that you asked for it in, so
   http://test.gipsi.biz/gipsi/sdv/valdinoto/sdvimg/campisi.jpg

Whether you put campisi.jpg inside your KMZ or not, the browser will
never look there.

Looking at a KML Icon style is different though ; for example
   <Icon>
     <href>sdvimg/trinacriat.gif</href>
again this is not fully qualified so whatever is rendering the Icon
has to guess what you mean.  But this time it is not the browser, it
is the KML parser - you happen to be using Google's GGeoXml.
GGeoXml is expecting to be run as part of webpage, so in a KML file,
GGeoXml will guess like the browser and look in your web hosting.

But inside a KMZ file, the rules are different.  GGeoXml will look
inside the KMZ for a folder 'sdvimg' and look in that folder for
'trinacriat.gif'.

The problem you are up against is that <img> tags are rendered by the
browser and the browser knows nothing about KMZ.   The KML parser
knows about KMZ, but does not recognize an <img> as any kind of KML
for it work on.

You need to replace the use of <img> tags with some kind of KML.
Luckily they have invented <Balloonstyle> that will work with KMZ
rather like Iconstyle does.
http://groups.google.com/group/kml-support-getting-started/browse_thread/thread/37b2b303aedeebd8/7307cbb09c69119e

-- 
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