[mapguide-users] Selection opacity
Jamo
adam.jamison at portbris.com.au
Tue Sep 8 00:29:51 EDT 2009
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:
> 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 (opacity) portion of the string is
> ignored; the server code masks this out of the passed value, and then
> adds 200 (C8) as the line opacity and 160 (A0) as the fill opacity."
>
> The stylesheet that you have modified are for opacity when digitizing,
> eg. drawing a polygon for buffer.
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> Jackie Ng skrev:
>> 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.
>>
>> - Jackie
>>
>>
>> Jamo wrote:
>>
>>> 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 */
>>> -moz-opacity:0.50; /* Mozilla 1.6 and below */
>>> opacity: 0.50; /* newer Mozilla and CSS-3 */
>>> }
>>>
>>>
>>
>>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context: http://n2.nabble.com/Selection-opacity-tp3564831p3600996.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list