I have a KML file obtained from USGS which I am adding as a layer in
GeoChat. GeoChat uses Google Maps to display the map and renders the layers.
The problem is I want the layer's image icon to be displayed
semi-transparent so that information in other layers beneath the image can
be seen. I have modified the color element in the GroundOverlay field of the
KML file to achieve the transparency effect. However GeoChat fails to make
the image transparent. Google Earth however displays the image properly. I
am using Firefox 3.6 for viewing. GeoChat link:
http://geochat.instedd.org/Map

The folowing is the KML file:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2"; xmlns:gx="
http://www.google.com/kml/ext/2.2"; xmlns:kml="http://www.opengis.net/kml/2.2";
xmlns:atom="http://www.w3.org/2005/Atom";>
<Folder>
    <name>Transparent test</name>
    <GroundOverlay>
        <name>Intensity Overlay: BRAC Small</name>
        <color>99999999</color>
        <drawOrder>1</drawOrder>
        <Icon>
            <href>
http://earthquake.usgs.gov/shakemap/global/shake/2010bsa3/download/ii_overlay.png
</href>
            <refreshMode>onInterval</refreshMode>
            <refreshInterval>900</refreshInterval>
        </Icon>
        <LatLonBox>
            <north>31.3467</north>
            <south>28.0134</south>
            <east>53.7062</east>
            <west>49.7062</west>
        </LatLonBox>
    </GroundOverlay>
</Folder>
</kml>

Thanks and Regards.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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