[OpenLayers-Users] strange transparency level changing
BrainDrain
paulborodaev at gmail.com
Sun Oct 19 07:43:32 EDT 2008
Outside OL overlay images requested from MapServer has always the same
polygon opacity.
I dont think that it's a browser cache problem because I've observed the
same behaviour in 3 different browsers (overlay transparency decrease during
zoomin/panning - fact). I didn't see any working example of overlaying with
POLYGONS (from raster layer). I suppose this issue related to images
loading order (server response time specific): for ex. initially (when
layers just were added) overlay layer loading is faster then base
Eric Lemoine-3 wrote:
>
> Hi. I doubt the problem relates to OpenLayers. To check I'd recommend
> opening FireBug's Net tab, copying the MapServer img requests, and
> pasting them in your browser's URL bar to display the images outside
> OpenLayers. If I ran into this problem, I think I'd check if my
> browser cache isn't playing tricks to me; I really don't know if this
> is the source of your problem, just throwing random guess here... Eric
>
> 2008/10/18, BrainDrain <paulborodaev at gmail.com>:
>>
>> Hi.
>> I have 2 layers in my map: base (opaque) from mapserver and overlay from
>> mapserver too with transparent polygons (png 24, transparency 50%,
>> layer.alpha = true)
>> What I call 'strange' is that right after map image loaded I have overlay
>> layer opacity near to 50%
>> http://www.nabble.com/file/p20047677/1.png
>> but ONLY BEFORE I'm starting to PAN/ZOOM map:
>> after panning/zooming completed overlay layer becomes more opaque as you
>> can
>> see
>> http://www.nabble.com/file/p20047677/2.png
>> DURING map view changing operations (pan/zoom) opacity level returns to
>> initial 50% as on screen1
>> so - the result is that initial map image overlay transparency is
>> different
>> from one after some view changing
>> (firefox/k-meleon/ie)
>> How to fix it?
>> Paul
>> --
>> View this message in context:
>> http://www.nabble.com/strange-transparency-level-changing-tp20047677p20047677.html
>> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
--
View this message in context: http://www.nabble.com/strange-transparency-level-changing-tp20047677p20055310.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list