[OSM-dev] Slippy map and zoom

Tom Hughes tom at compton.nu
Thu Feb 14 14:51:54 GMT 2008

In message <F04A1647-2FDE-4F31-9AA3-3046D0E8C7A7 at asklater.com>
        SteveC <steve at asklater.com> wrote:

> On 14 Feb 2008, at 14:16, Tom Hughes wrote:
>> In message <47B44B73.6050907 at arjam.net>
>>        Robert Munro <rjmunro at arjam.net> wrote:
>>> While we are at it, please can we add a draggable zoom indicator  
>>> thing,
>>> like on every other online map that exists (including our own maps at
>>> http://informationfreeway.com/, http://tiles.openstreetmap.nl/,
>>> http://www.frankieandshadow.com/osm/ and other probably places).
>> I would gladly turn it on, but Steve has explicitly said that
>> he doesn't want it.
> I did? What was I smoking?

It was 9th November last year:

(15:44:40) crschmidt: TomH-Work: do you have a personal preference for avoiding the panzoombar?
(15:45:04) TomH-Work: nothing to do with me - the map was like that before I was involved
(15:45:31) crschmidt: TomH-Work: Okay. I like the panzoombar better: should I send an email to the dev list about changing it?
(15:45:44) crschmidt: or is that minor enough that it can just be done?
(15:47:04) TomH-Work: is the PanZoom control we're using at the moment a default? only I can't see where we add it?
(15:47:17) crschmidt: TomH-Work: it is a default
(15:47:21) crschmidt: [new OpenLayers.Control.Navigation(), new OpenLayers.Control.PanZoomBar(), new OpenLayers.Control.ArgParser(), new OpenLayers.Control.Attribution()] <- put that in your map options
(15:47:26) crschmidt: to change it
(15:47:35) crschmidt: (That keeps the same defaults, minus 'panzoom' -> 'panzoombar'
(15:47:44) crschmidt: You probably don't need ArgParser or Attribution either
(15:47:49) crschmidt: but they are currently in there. *shrug*
(15:48:00) SteveC: whats the panzoombar
(15:48:02) TomH-Work: oh - I need to do it on the original map create, rather than just doing an addControl then
(15:48:07) crschmidt: TomH-Work: Right
(15:48:14) TomH-Work: SteveC: like infofreeway,
(15:48:18) ***SteveC looks
(15:48:21) crschmidt: SteveC: PanZoom control with a bar instead of with a single 'zoom to max extent' button
(15:48:46) ***SteveC prefers the little one
(15:48:58) SteveC: who uses them anyway - we all have iphones or mice with scroll wheels?
(15:49:04) SteveC: or both...

I thought you had said it again recently, but it turns out that was
just crschmidt quoting your previous comments:

(14:20:09) rjmunro: SteveC: Please can we have a draggable zoom bar on the OSM map, like on InformationFreeway.com. It was really annoying me the other day.
(14:22:10) crschmidt: 10:48 * SteveC prefers the little one
(14:22:10) crschmidt: 10:48 < SteveC> who uses them anyway - we all have iphones or mice with scroll wheels?
(14:22:33) ***SpeedEvil also wants a draggy zoom bar.
(14:22:35) crschmidt: -- #osm, Fri, Nov 9, 2007
(14:22:48) SpeedEvil: I mostly use my laptop
(14:23:08) rjmunro: Google, Yahoo, Multimap, etc. all have them.
(14:23:47) ***crschmidt is also in favor of it, in case that wasn't clear
(14:25:05) ***SpeedEvil passes out the pitchforks and torches to storm the castle.
(14:25:37) crschmidt: I think the only person I've seen speak against it is SteveC, and it wasn't clear from context if he was just being snarky, or if he was serious
(14:27:07) rjmunro: I mostly use my laptop as well, but even when you have a scroll wheel, it provides a nice visual indication of how much more zoom is available

> I do prefer the smaller buttons but I'm not wedded to them... and I  
> wish rjmunro would learn to code or something :-)

I might change it then ;-)


Tom Hughes (tom at compton.nu)

More information about the dev mailing list