<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
saloua wakrim skrev:
<blockquote
 cite="mid:903cf3420906050904k29e9b220x72ad3e46930b866e@mail.gmail.com"
 type="cite">
  <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>&nbsp;</div>
  <div>function RequestMapImage(reqId)<br>
{<br>
&nbsp;&nbsp;&nbsp; url = webAgent +
"?OPERATION=GETDYNAMICMAPOVERLAYIMAGE&amp;FORMAT=PNG&amp;VERSION=1.0.0&amp;SESSION="
+ sessionId + "&amp;MAPNAME=" + encodeComponent(mapName) + "&amp;SEQ="
+ Math.random()</div>
  <div>&nbsp;&nbsp;&nbsp; document.getElementById("overlay").innerHTML =<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&lt;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)"&gt;';<br>
}</div>
  <div>&nbsp;</div>
  <div>i've tried to modify it by adding:</div>
  <div>.....Math.random()<font face="Courier New"><strong>+
"&amp;BEHAVIOR=7&amp;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>&nbsp;</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>&nbsp;</p>
  <div>&nbsp;</div>
  <div><br>
  <br>
  </div>
  <div><br>
  <br>
&nbsp;</div>
  <div class="gmail_quote">2009/6/4 Kenneth Skovhede, GEOGRAF A/S <span
 dir="ltr">&lt;<a moz-do-not-send="true" href="mailto:ks@geograf.dk">ks@geograf.dk</a>&gt;</span><br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">No need to double or triple
post.<br>
    <br>
You answer can be found here:<br>
    <a moz-do-not-send="true"
 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 moz-do-not-send="true"
 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 class="im"><br>
    <pre cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
    </pre>
    <br>
    <br>
    </div>
saloua wakrim skrev:
    <blockquote type="cite">
      <div>
      <div class="h5">hi kenneth&nbsp;! 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">&lt;<a moz-do-not-send="true" href="mailto:ks@geograf.dk"
 target="_blank">ks@geograf.dk</a>&gt;</span><br>
      <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">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>
&lt;Layer id="layer guid"&gt;<br>
&nbsp;&lt;Class id="feature class"&gt;<br>
&nbsp; &nbsp;&lt;ID&gt;base64 encoded primary key value&lt;/ID&gt;<br>
&nbsp;&lt;/Class&gt;<br>
&lt;/Layer&gt;<br>
        <br>
You can have multiple &lt;Layer&gt; tags, multiple &lt;Class&gt; tags,
and multiple &lt;ID&gt; tags.<br>
        <br>
Regards, Kenneth Skovhede, GEOGRAF A/S<br>
        <br>
        <br>
        <br>
        <a moz-do-not-send="true"
 href="mailto:wakrimsaloua.wakrim@gmail.com" target="_blank">wakrimsaloua.wakrim@gmail.com</a>
skrev:
        <div>
        <div><br>
        <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">hi
all! did you know what does" id" in &lt;layer id=255.....&gt; 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 &lt;layer id=255.....&gt; 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 &lt;layer
id=255.....&gt; 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 moz-do-not-send="true"
 href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
          <a moz-do-not-send="true"
 href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
 target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
&nbsp;<br>
        </blockquote>
_______________________________________________<br>
mapguide-users mailing list<br>
        <a moz-do-not-send="true"
 href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
        <a moz-do-not-send="true"
 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 size="4" width="90%"><div class="im">
_______________________________________________
mapguide-users mailing list
<a moz-do-not-send="true" href="mailto:mapguide-users@lists.osgeo.org"
 target="_blank">mapguide-users@lists.osgeo.org</a>
<a moz-do-not-send="true"
 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 moz-do-not-send="true"
 href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
    <a moz-do-not-send="true"
 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>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
  </pre>
</blockquote>
</body>
</html>