Awesome Arne/Roger. Will give it a go.
Thanks
Mark
----------------------------------------------------------------
To replace the default 8 bit blank.png with the attached 24bit blank png,
In the directory where geowebcacahe-1.1.0.jar lives, create a subdirectory org/geowebcache
Put the attached png there and name it blank.png
Update the jar:
jar uf geowebcache-1.1.0.jar org/geowebcache/blank.png
Test it by extracting and seeing if it is the new one (it is 662 bytes, the old one is 129 bytes)
jar xf geowebcache-1.1.0.jar org/geowebcache/blank.png
You will need to clear your browser cache to see the difference in the Silverlight map control.
It worked for me...
Roger
--------------------------------------------------
From: "Arne Kepp" <ak@anonymised.com>
Sent: Tuesday, May 26, 2009 3:21 AM
To: "Roger Bedell" <roger@anonymised.com>
Cc: <geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] Black areas in Silverlight Map Control:better solutions?
> Maybe, try this:
>
> You can unpack geowebcache.jar , look for blank.png, replace it with
> another PNG and repack.
>
> -Arne
>
> Roger Bedell wrote:>> I filed this feature request. Thanks! Anything we can do in the meantime?
>>
>> Roger
>>
>> --------------------------------------------------
>> From: "Arne Kepp" <ak@anonymised.com>
>> Sent: Monday, May 25, 2009 4:14 AM
>> To: "Mark Rodrigo" <mprodrigo@anonymised.com>
>> Cc: "geoserver-users" <geoserver-users@lists.sourceforge.net>
>> Subject: Re: [Geoserver-users] Black areas in Silverlight Map Control:
>> better solutions?
>>
>>> Could make the transparent tile configurable. Feel free to file a
>>> feature request ticket on geowebcache.org
>>>
>>> -Arne
>>>
>>> Mark Rodrigo wrote:
>>>
>>>> I need a better solution than just increasing my extents... I >>>> understand
>>>> that the "black"/shadow areas are occurring outside my area of extents,
>>>> but they shouldn't. Those should just be normal tiles without an
>>>> overlay. If I increase my extents, with the area sizes I am dealing
>>>> with, then I am going to have a huge cache of useless 1kb tiles. It
>>>> appears as if the PNGs coming out of GeoWebCache are 32 bit. I thought
>>>> these might work, and they are great in my extents, but I can't have
>>>> these "black"/shadow areas if you want to like a tan line on a beach.
>>>> This should be a Microsoft Silverlight problem that needs to be fixed >>>> on
>>>> their side. Check out this article:
>>>> http://viswaug.wordpress.com/2009/04/01/lack-of-good-transparency-support-in-silverlight-and-what-it-means-to-online-mapping-maps/>>>> Very Frustrating.
>>>>
>>>> Mark
>>>>
>>> -- >>> Arne Kepp
>>> OpenGeo - http://opengeo.org
>>> Expert service straight from the developers