hi Chris thank you very much for your answer it's very good for mg 2.0.2 but not for mg 2.0.1 I tested in both realizes
the selectionXml is valid too. Sorry if you ask even more questions, but I need help 1. 'map.setSelection(sel, true)' is not valid for multi selections! In this case, how I can do? 2. I think that the file C:\Programmi\MapGuideOpenSource2.0\WebServerExtensions\Help\viewerapi.html is not update for mg 2.0.2, because the instruction 'setSelection' does not exist where I can download a new viewer api? I must resolve this function function submitRequest(pageUrl) { xmlSel = parent.parent.mapFrame.GetSelectionXML(); if(xmlSel=='') alert("Selezionare Area Incendio"); else{ mapScale = parent.parent.mapFrame.GetScale(); mapHeight = 600; mapWidth = 600; mapCenter = parent.parent.mapFrame.GetCenter(); params = new Array("SESSION", parent.parent.mapFrame.GetSessionId(), "MAPNAME", parent.parent.mapFrame.GetMapName(), "SELECTION", xmlSel, "SCALE", mapScale, "HEIGHT", mapHeight, "WIDTH", mapWidth, "CENTERX", mapCenter.X, "CENTERY", mapCenter.Y ); parent.parent.formFrame.Submit(pageUrl, params, "_blank"); }// fine else } 3. I would use in mapguide 2.0.2 the same templates of mg 2.0.1 es: aqua, marron, ecc.. How can I do? bye bye Alba -- View this message in context: http://n2.nabble.com/Changing-current-selection-colour-tp1805368p2691735.html Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users