ok thanks,i'll try do it and restart mapguide server,thanks any way<br><br>
<div class="gmail_quote">2009/6/8 Kenneth Skovhede, GEOGRAF A/S <span dir="ltr"><<a href="mailto:ks@geograf.dk">ks@geograf.dk</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div text="#000000" bgcolor="#ffffff">What version of MG are you using?<br>I have not used the AJAX viewer for some time, so I can't offer you any advice.<br>If you get no responses, try posing a fresh question, as the current subject will not <br>
attract attention from the people likely to have the answer to this.
<div>
<div></div>
<div class="h5"><br><pre cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre><br><br>saloua wakrim skrev: </div></div>
<blockquote type="cite">
<div>
<div></div>
<div class="h5">
<div>hi kenneth! at first thanks a lot for your help, 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</div>
<div> </div>
<div>function RequestMapImage(reqId)<br>{<br> url = webAgent + "?OPERATION=GETDYNAMICMAPOVERLAYIMAGE&FORMAT=PNG&VERSION=1.0.0&SESSION=" + sessionId + "&MAPNAME=" + encodeComponent(mapName) + "&SEQ=" + Math.random()</div>
<div> document.getElementById("overlay").innerHTML =<br> '<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)">';<br>
}</div>
<div> </div>
<div>i've tried to modify it by adding:</div>
<div>.....Math.random()<font face="Courier New"><strong>+ "&BEHAVIOR=7&SELECTIONCOLOR=FF5300FF"</strong>; 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)</font></div>
<div> </div>
<div>VERSION=1.0.0 to <font face="Courier New">VERSION=<strong>2.0.0 but it doesn't give good result, if you can explain me why?? thanks in advance</strong></font></div>
<p> </p>
<div> </div>
<div><br><br></div>
<div><br><br> </div>
<div class="gmail_quote">2009/6/4 Kenneth Skovhede, GEOGRAF A/S <span dir="ltr"><<a href="mailto:ks@geograf.dk" target="_blank">ks@geograf.dk</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div text="#000000" bgcolor="#ffffff">No need to double or triple post.<br><br>You answer can be found here:<br><a href="http://sandbox.mapguide.com/index.php/Change_Selection_Color_Setting" target="_blank">http://sandbox.mapguide.com/index.php/Change_Selection_Color_Setting</a><br>
or here:<br><a href="http://www.jasonbirch.com/nodes/2008/12/02/213/changing-selection-colour-in-mapguide-ajax-viewer/" target="_blank">http://www.jasonbirch.com/nodes/2008/12/02/213/changing-selection-colour-in-mapguide-ajax-viewer/</a>
<div><br><pre cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre><br><br></div>saloua wakrim skrev:
<blockquote type="cite">
<div>
<div>hi kenneth ! when we select object on map or (selection) mapguide marks it with blue color (with some transparency) who knows the code of this color? if we want use it for example as foreground to draw layer what is the code wich allow that, thanks for all in advance<br>
<br>
<div class="gmail_quote">2009/5/28 Kenneth Skovhede, GEOGRAF A/S <span dir="ltr"><<a href="mailto:ks@geograf.dk" target="_blank">ks@geograf.dk</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Its the runtime layer's ID, which is a guid string, and changes for each invocation of the map.<br>
(eg, you can't save it and use it in another session).<br><br>Selection xml looks like this:<br><br><Layer id="layer guid"><br> <Class id="feature class"><br> <ID>base64 encoded primary key value</ID><br>
</Class><br></Layer><br><br>You can have multiple <Layer> tags, multiple <Class> tags, and multiple <ID> tags.<br><br>Regards, Kenneth Skovhede, GEOGRAF A/S<br><br><br><br><a href="mailto:wakrimsaloua.wakrim@gmail.com" target="_blank">wakrimsaloua.wakrim@gmail.com</a> skrev:
<div>
<div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">hi all! did you know what does" id" in <layer id=255.....> returned by selection xml mean? cause when i got the XmlSelection from map and i use it for getting layers it contains i've error wich say that layers is nothing but the selection is nt i've verifyed it the selection i got from map is not empty but the layers are nothing, so i think that can be caused by the "id" in <layer id=255.....> returned by the selection if that mean the session for example cause me when i create layer i do it with "library://......mapdefinition" and not "Session//....mapdefinition" so i think that if the id on <layer id=255.....> means the session used by user i think that layer contained on selection won't be known, but i'm not sure please if you have some idea tell it me, thanks a lot on advance.<br>
_______________________________________________<br>mapguide-users mailing list<br><a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br></blockquote>_______________________________________________<br>mapguide-users mailing list<br><a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div><br></div></div><pre><hr width="90%" size="4"><div>
_______________________________________________
mapguide-users mailing list
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</div></pre></blockquote></div><br>_______________________________________________<br>mapguide-users mailing list<br><a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br><br></blockquote></div><br></div></div><pre><hr width="90%" size="4"><div class="im">
_______________________________________________
mapguide-users mailing list
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</div></pre></blockquote></div><br>_______________________________________________<br>mapguide-users mailing list<br><a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br></blockquote></div><br>