Hi,
Succes for this would depend on:
- if the WMS indeed serves the PNG transparently. What WMS do you use?
- if the User Agent (SVG viewer) actually can display the PNG transparency.
What UA do you use?
Did you try using another image format, eg GIF?
__
Barend Köbben
International Institute for Geo-information
Sciences and Earth Observation (ITC)
PO Box 6, 7500AA Enschede (The Netherlands)
ph: +31 (0)53 4874253; fax: +31 (0)53 4874335
On 17-01-2007 22:28, "benoist" <[EMAIL PROTECTED]> wrote:
> Hello community,
>
>
>
> I load wms data into my svg server application, through the following :
>
> myImageUrl +=
> "&service=WMS&version="+version+"&request=GetMap&layers="+layerWmsName+"&sty
> les=&srs=EPSG:" + myMainMap.epsg;
>
> myImageUrl += "&BBox=" + myMainMap.curxOrig + "," + (myMainMap.curyOrig +
> myMainMap.curHeight) * -1 + "," + (myMainMap.curxOrig + myMainMap.curWidth)
> + "," + (myMainMap.curyOrig) * -1;
>
> myImageUrl += "&width=" + myMainMap.pixWidth + "&height=" +
> myMainMap.pixHeight + "&Format=" + imageFormat;
>
> myRasterImage.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",myI
> mageUrl);
>
>
>
> with imageFormat being declared as : "image/png"
>
>
>
> My problem is that the transparent part of the image is displayed as non
> transparent white. Would you have any help?
>
>
>
> Pascal
>
>
>
> [Non-text portions of this message have been removed]
>
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/