<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR>



<DIV><FONT face=Arial size=2>hi Chris</FONT></DIV>
<DIV><FONT face=Arial size=2>thank you very much for your answer</FONT></DIV>
<DIV><FONT face=Arial size=2>it's very good for mg 2.0.2 but not for mg 
2.0.1</FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV id=result_box dir=ltr>I tested in both realizes</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>the selectionXml is valid too.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>
<DIV id=result_box dir=ltr style="TEXT-ALIGN: left">Sorry if you ask even more 
questions, but I need help</DIV>
<DIV dir=ltr style="TEXT-ALIGN: left">1.</DIV></DIV>
<DIV dir=ltr>&nbsp;'map.setSelection(sel, true)' is not valid for multi 
selections! In&nbsp;this case, how I can do?</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>2.</DIV>
<DIV dir=ltr>&nbsp;I think that the file 
C:\Programmi\MapGuideOpenSource2.0\WebServerExtensions\Help\viewerapi.html</DIV>
<DIV dir=ltr>is not update for mg 2.0.2, because the instruction 
'setSelection'&nbsp; does not exist</DIV>
<DIV dir=ltr>where I can download a new viewer api?</DIV>
<DIV dir=ltr>I must resolve this function</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>&nbsp;&nbsp;function 
submitRequest(pageUrl)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
xmlSel = 
parent.parent.mapFrame.GetSelectionXML();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if(xmlSel=='') alert("Selezionare Area 
Incendio");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
else{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mapScale = 
parent.parent.mapFrame.GetScale();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
mapHeight = 600;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
mapWidth = 600;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
mapCenter = 
parent.parent.mapFrame.GetCenter();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
params = new Array("SESSION", 
parent.parent.mapFrame.GetSessionId(),<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"MAPNAME", 
parent.parent.mapFrame.GetMapName(),<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"SELECTION", 
xmlSel,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"SCALE", 
mapScale,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"HEIGHT", 
mapHeight,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"WIDTH", 
mapWidth,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"CENTERX", 
mapCenter.X,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
"CENTERY", 
mapCenter.Y<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
parent.parent.formFrame.Submit(pageUrl, params, 
"_blank");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }// fine 
else<BR>&nbsp;&nbsp;&nbsp;&nbsp; }<BR></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2>3.</FONT></DIV>
<DIV>I would use in mapguide 2.0.2 the same templates of mg 2.0.1 es: aqua, 
marron, ecc..</DIV>
<DIV>How can I do?</DIV>
<BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"><FONT face=Arial size=2>bye bye Alba</FONT></BLOCKQUOTE>

<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Changing-current-selection-colour-tp1805368p2691735.html">Re: [mapguide-users] Select and zoom to feature in Mapguide+Fusion</a><br>
Sent from the <a href="http://n2.nabble.com/MapGuide-Users-f1803227.html">MapGuide Users mailing list archive</a> at Nabble.com.<br>