[OpenLayers-Trac] Re: [OpenLayers] #3167: Allow to have PanZoomBar
without pan icons
OpenLayers
trac-20090302 at openlayers.org
Tue Mar 29 06:46:56 EDT 2011
#3167: Allow to have PanZoomBar without pan icons
--------------------------------+-------------------------------------------
Reporter: sbrunner | Owner: erilem
Type: feature | Status: new
Priority: minor | Milestone: 2.11 Release
Component: Control.PanZoomBar | Version: 2.10
Keywords: patch | State: Commit
--------------------------------+-------------------------------------------
Changes (by erilem):
* state: Review => Commit
Comment:
Stéphane, please commit [attachment:nopan.4.patch] if you agree with my
changes. Here's what I chnaged:
* I removed the example. We don't have an example for {{{PanZoomBar}}}
currently, so I don't think we should add a "no pan icons" example. And
the API docs should be sufficient here.
* I changed the docstrings for {{{panIcons}}}.
* I removed hardcoded offset values (18 and 20)
* I added {{{map.destroy()}}} calls in the test function
Tests pass in FF3, FF4, IE8 and Chromium 10.
--
Ticket URL: <http://trac.openlayers.org/ticket/3167#comment:5>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list