[OpenLayers-Users] VE as a base layer in Openlayers

bradleyspencer brad at cubewerx.com.au
Mon Nov 26 18:41:16 EST 2007


Jeff,

That did the job. This needs a ticket I'd say.

It has always been advised that this was a VE bug but its now fixed at least
for me.

Cheers,

Brad Spencer


-----Original Message-----
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org]On
Behalf Of Jeff Yutzler
Sent: Tuesday, 27 November 2007 10:21 AM
To: users at openlayers.org
Subject: Re: [OpenLayers-Users] VE as a base layer in Openlayers

This might be a stretch, but I do recall a scenario where changing
opacity was not working in my application and I was at one point doing
some testing with VE.  To fix the problem, I reversed these lines of
code in OpenLayers.Util.modifyDOMElement in Util.js:
        element.style.opacity = opacity;
        element.style.filter = 'alpha(opacity=' + (opacity * 100) + ')';
Since I never isolated the source of the problem or saw anyone else
complain about it, I did not see the need to submit a patch, but perhaps
this is it.  It is worth a shot...
Regards,
Jeff

users-request at openlayers.org wrote:
> On Sun, Nov 25, 2007 at 01:47:05PM +1100, bradleyspencer wrote:
>
>> List,
>>
>> I have been experimenting with VE as an optional base layer and have
>> identified some real showstoppers that others may have a fix for.
>>
>> If you want to allow a user to interactively modify a layer?s opacity
atop
>> of the VE base layer, this does not work in FierFox but does in IE7. I am
>> using png.
>>
>
> This is a bug in VE's API.
>
>
>> Is this a bug that needs fixing or is VE not a serious option as a base
map?
>>
>
> VE is not an option if you want to use client-side opacity.
>
> Regards,
>




More information about the Users mailing list