On Nov 13, 2007 12:28 PM, Lourens Veen <[EMAIL PROTECTED]> wrote:
> On Tuesday 13 November 2007 10:11:38 Eric Lemoine wrote:
> > Hello
> >
> > OpenLayers.Handler includes methods annotated as APIMethod's. I'm a
> > bit surprised with that. To me, handlers belong to OpenLayers
> > internals and shouldn't be part of OpenLayers API. What do you think?
>
> I just wrote a custom control called SelectBox. It'll let you select features
> in one or more vector layers by either clicking (all features under the mouse
> will be selected) or dragging a box (all features completely within the box
> will be selected). I'm hoping this will help deal with overlapping features.
>
> Because OpenLayers has this nice Handler/Control architecture, setting this up
> was a breeze. I used the Box handler (used by the ZoomBox control) from my
> own SelectBox control, and all I had to do was write the actual selection
> code based on the input from the handler.

The Box handler has no APIMethods. So I guess things could change from
under your feet...

--
Eric
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to