[OpenLayers-Trac] [OpenLayers] #3271: Allow to pan the map while drawing in some examples.

OpenLayers trac-20090302 at openlayers.org
Thu Apr 21 19:19:43 EDT 2011


#3271: Allow to pan the map while drawing in some examples.
----------------------+-----------------------------------------------------
 Reporter:  jorix     |       Owner:              
     Type:  feature   |      Status:  new         
 Priority:  minor     |   Milestone:  2.12 Release
Component:  examples  |     Version:  2.10        
 Keywords:            |       State:              
----------------------+-----------------------------------------------------
 It is interesting that supports this new feature, introduced in 2.11
 (r11381)  in some examples. The examples affected are those using
 navigation control into a panel.

 I found two types of examples concerned:
  * Examples where to pan the map does not work while drawing ({{{wfs-
 protocol-transactions.html}}} and {{{wfs-snap-split.html}}})
  * Examples where you can draw and navigate because they use two
 navigation controls, one on the panel and the other as default navigation
 control of the map ({{{protocol-gears.html}}}, {{{snap-split.html}}} and
 {{{snapping.html}}})

 The patch aims in both cases having a single control to navigate. This
 control is always active, and in the panel is a empty control that only
 serves to turn off the drawing options.

 I have not included examples using EditingToolbar, see #3269.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3271>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list