Drawing Polygon

Farah farah at egovernments.org
Thu Nov 30 06:36:13 EST 2006


Hi !!


I just tried a sample to create a temporary layer consisting of polygons
drawn with the method: DigitizePolygon.

I am attaching the code. 
1) digPolygon.jsp: This jsp draws the polygon on the map and calls the
savePolygonLayer.jsp. After u click on the button in this page, you can draw
a polygon on the map. To complete the polygon, do ctrl+click.

2)savePolygonLayer.jsp: this jsp creates a temporary layer with the polygon
and displays it on map

3) findParcelFunctions.jsp : functions to create the temporary feature
source and layer

4)polygon.xml: describing the temporary layer properties


Regards
Farah

-----Original Message-----
From: bluesky_dyx at hotmail.com [mailto:bluesky_dyx at hotmail.com] 
Sent: Thursday, November 30, 2006 2:37 PM
To: farah at egovernments.org
Subject: Drawing Polygon

Hi,

I was wondering, do you know how to create a new layer consists of polygon
by using digitizepolygon features?
any idea of this?
I hope you can help me out.
Thank you very much

Regards,
Kencana
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digPolygon.jsp
Type: application/octet-stream
Size: 3030 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20061130/982ed453/digPolygon.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: findparcelfunctions.jsp
Type: application/octet-stream
Size: 5043 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20061130/982ed453/findparcelfunctions.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: polygon.xml
Type: text/xml
Size: 1891 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20061130/982ed453/polygon.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: savePolygonLayer.jsp
Type: application/octet-stream
Size: 6941 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20061130/982ed453/savePolygonLayer.obj


More information about the Mapguide-users mailing list