[OpenLayers-Users] pan map while dragging feature?
Richard Greenwood
richard.greenwood at gmail.com
Wed Feb 8 21:33:46 EST 2012
On Tue, Feb 7, 2012 at 9:06 AM, j5c077 <jeremyswilson at att.net> wrote:
> is it possible to have the map pan while dragging a vector feature instead of
> the feature stopping once it reaches the edge of the map?
This might help:
OpenLayers.Handler.Drag.prototype.documentDrag = true;
http://dev.openlayers.org/releases/OpenLayers-2.10/doc/apidocs/files/OpenLayers/Handler/Drag-js.html#OpenLayers.Handler.Drag.documentDrag
--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com
More information about the Users
mailing list