hi !  i've read the documentation you gove me and tried to apply it for
changing selection color : format of my "ajaxmappane.templ" (or function
wich concerning me) is

function RequestMapImage(reqId)
{
    url = webAgent +
"?OPERATION=GETDYNAMICMAPOVERLAYIMAGE&FORMAT=PNG&VERSION=1.0.0&SESSION=" +
sessionId + "&MAPNAME=" + encodeComponent(mapName) + "&SEQ=" + Math.random()
    document.getElementById("overlay").innerHTML =
            '<img class="mapImage" name="' + reqId + '" id="mapImage" src="'
+ url + '" width=' + mapDevW + ' height=' + mapDevH + ' border=0 vspace=0
hspace=0 style="visibility: hidden; width: ' + mapDevW + 'px; height: ' +
mapDevH + 'px;" onload="return OnMapOverlayImageLoaded(event)">';
}

i've tried to modify it by adding:
.....Math.random()+ "&BEHAVIOR=7&SELECTIONCOLOR=FF5300FF"; As documentation
says, and when i try after to get my map on ajaxviewer it's not loaded the
ajax viewer is loaded but page not contains my map!!!! i've changed version
too (as documentation you sent me)

VERSION=1.0.0 to VERSION=2.0.0 but it doesn't give good result, if you can
explain me why?? thanks in advance
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to