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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to