<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
For making a circle handler, just copy the Rectangle handler (which
uses a Regular Polygon handler) and increase the number of sides to
something like 40.<br>
For the selections, register a Fusion.Event.MAP_SELECTION_ON event
listener on the map object and then you can use the
map.getSelection() method passing in a callback function that you
can use to process the results.<br>
<br>
Mike<br>
<br>
<br>
On 19/10/2011 3:37 AM, Iulia Tamas wrote:
<blockquote
cite="mid:1319009871.10154.YahooMailNeo@web122410.mail.ne1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:times
new roman, new york, times, serif;font-size:10pt">
<div>Hello</div>
<div><br>
</div>
<div>I have the 2 following problems with Fusion (MapGuide 2.2):</div>
<div><br>
</div>
<div>1) I don't know how could I digitize a circle because in
MapguideViewerApi.js I have found only : DigitizePoint /
DigitizeLine / DigitizeLineString / DigitizeRectangle /
DigitizePolygon</div>
<div><br>
</div>
<div>2) How can I get the xml selection from the Map. I know
that in Ajax we have GetSelectionXML() but I couldn't find a
similar function in Fusion</div>
<div><br>
</div>
<div><br>
</div>
<div>Thank You,</div>
<div>Iulia</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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>