<!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> </DIV>
<DIV dir=ltr>the selectionXml is valid too.</DIV>
<DIV dir=ltr> </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> 'map.setSelection(sel, true)' is not valid for multi
selections! In this case, how I can do?</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>2.</DIV>
<DIV dir=ltr> 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' 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> </DIV>
<DIV dir=ltr> function
submitRequest(pageUrl)<BR> {<BR>
xmlSel =
parent.parent.mapFrame.GetSelectionXML();<BR>
if(xmlSel=='') alert("Selezionare Area
Incendio");<BR>
else{<BR> mapScale =
parent.parent.mapFrame.GetScale();<BR>
mapHeight = 600;<BR>
mapWidth = 600;<BR>
mapCenter =
parent.parent.mapFrame.GetCenter();<BR>
params = new Array("SESSION",
parent.parent.mapFrame.GetSessionId(),<BR>
"MAPNAME",
parent.parent.mapFrame.GetMapName(),<BR>
"SELECTION",
xmlSel,<BR>
"SCALE",
mapScale,<BR>
"HEIGHT",
mapHeight,<BR>
"WIDTH",
mapWidth,<BR>
"CENTERX",
mapCenter.X,<BR>
"CENTERY",
mapCenter.Y<BR>
);<BR>
parent.parent.formFrame.Submit(pageUrl, params,
"_blank");<BR> }// fine
else<BR> }<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>