Re: [OpenLayers-Users] OpenLayers.Handler.Box interrupted by custom div

2010-08-19 Thread advance
all version of openlayers have this problem ,the element span... also interrupt the OpenLayers.Handler.Box , Ext.window also interrupt the OpenLayers.Handler.Box I still haven't found a way to make this work, does anyone have any suggestions? or is this a bug of openlayers? Thank you! -- View

Re: [OpenLayers-Users] OpenLayers.Handler.Box

2009-07-05 Thread Bart van den Eijnden (OSGIS)
Hi, check the SelectFeature Control [1] for an example on how to use the Box Handler. Basically you create the handler with a callback function (done), the callback function will get the bounds of the box drawn. Best regards, Bart [1]

[OpenLayers-Users] OpenLayers.Handler.Box

2009-07-04 Thread 莹莹 李
hi!list i want to draw a box and get  coordinates of the box's four points.i know i can draw box with OpenLayers.Handler.Box,but i don't know how to get coordinates.please help me! give me a exmple about this! thank you!