You might want to look at OpenLayers.  
www.openlayers.org<http://www.openlayers.org>

Here is a basic example that allows you to draw some vector features and then 
select them by drawing a box.
http://dev.openlayers.org/releases/OpenLayers-2.10/examples/select-feature.html

David.

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais, Bob
Sent: Thursday, February 17, 2011 8:18 AM
To: mapserver-users
Subject: [mapserver-users] polygon tool

I am trying to create a polygon tool with PHP MapScript and JavaScript.  I'd 
like to allow the user to draw a polygon which will eventually be used to 
select map features.  This kind of thing probably has been done before.  Can 
anyone direct me to some code samples?

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to