On Wednesday, August 5, 2009, MattL <[email protected]> wrote: > > Silly me, I had set the box property to true. All's well now.
Hi. FYI I've recently noticed that order matters, I bet the select control doesn't work if you do var s = new OpenLayers.Control.SelecFeature(...); var n = new OpenLayers.Control.Navigation(); map.addControl(s); s.activate(); map.addControl(n); This is because the navigation control's drag handler stops mousedown (stopDown is true). This is problematic if one has a toolbar with the nav control in a toggle group and wants the select control to be always activated. If you confirm that the select control does not work with the order used in the above code snippet I'll create a ticket. Cheers, > > > MattL wrote: >> >> Hi, >> >> I would like to use SelectFeature as my map's default tool, but it appears >> to only allow mouse wheel zoom navigation. How can I get it to support >> DragPanning as well? >> >> Thanks, >> Matt >> > > -- > View this message in context: > http://n2.nabble.com/Navigation-%2B-SelectFeature-tp3393324p3393416.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
