On Tue, Dec 11, 2007 at 09:50:07AM +1100, bradleyspencer wrote:
> List,
> 
> Has anyone got an example of how to use the mouse to drag a rectangle/square
> over the map area which then can be used to intersect with map objects such
> as server-side polygons?
> 
> I really just want a client tool to generate the drag box and expose the
> BBox in real map coords. I can then stuff these into a filtered GetFeature
> request to snare all the objects I want.

Shift-drag on http://openlayers.org/dev/examples/custom-control.html
does what you want, I think.

Regards,
-- 
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to