Gesendet: Donnerstag, 3. September 2009 04:24
An: mapguide-users@lists.osgeo.org
Betreff: Re: [mapguide-users] Selection opacity
Just a follow up, I still haven't found where the selection layer definition
is.
Turns out the css below refers to the actual selection shape.
Surely someone has an answer
Well there it is :(
Just spent ages changing numbers and letters and was always ending up with
the same result ... cheers Ken
Would there be a reason in forcing the opacity ? Would it be possible to
un-force?
Kenneth Skovhede, GEOGRAF A/S wrote:
Unfortunately the opacity is fixed:
Unfortunately the opacity is fixed:
http://www.jasonbirch.com/nodes/2008/12/02/213/changing-selection-colour-in-mapguide-ajax-viewer/
The SELECTIONCOLOR parameter is a hex string in RGBA format
http://en.wikipedia.org/wiki/RGBA_color_space, or its integer
equivalent. Note for geeks: the A
Just a follow up, I still haven't found where the selection layer definition
is.
Turns out the css below refers to the actual selection shape.
Surely someone has an answer ? :(
Jamo wrote:
Is it possible to change the selection opacity?
I don't mind doing this globally at the moment.
At the function RequestSelectionImage() in ajaxmappane.templ it makes a call
to GETDYNAMICMAPOVERLAYIMAGE passing in the selection color.
That selection color is an ARGB (RGBA?) hex value. You should be able to
control the selection opacity by tweaking the alpha component of that hex
value.
-
Is it possible to change the selection opacity?
I don't mind doing this globally at the moment.
I've tried changing this to 01 .01 but it is no good?
perhaps I'm changing it in the wrong area?
ajaxmappane.templ
#shapeFeedback
{
filter:alpha(opacity=50); /* Internet Explorer