You need to log in before you can comment on or make changes to this bug.
This occurs in the Enhance widget sample: http://localhost/chameleon/samples/sample_enhanced.phtml but not in the Base widget samples. Do the following: 1. Open the Enhanced widget sample. 2. Select Zoom In tool 3. Select an area on the main map about the size of SW-Ontario. (Note Ground Scale changes from ~42,000,000 to ~3,300,000.) 4. On Keymap, click near middle of Alberta/Sask border. (Note that scale is now ~21,000,000.) Why did the scale change?
Changed target to 1.99 Beta 3.
Changing Version to 1.99 (2.0 not being worked on yet).
Darren, the enhanced sample uses the KeyMapDHTML widget, by default the mode of this widget is zoom. If you simply click on the keymap, it will recenter AND zoom in by a factor (default is two). If you want this to work the way you think it should, switch the keymap mode to recenter :)
Oh, OK. Thanks for the info. I'm not 100% sure I like that as the default behaviour, but that;s a design issue for another day. Marking as VERIFIED.
I am on both Darren and Paul side regarding how the DHTMLKeymap was designed. I can see from darrens point of view how a keymap should allow recentering as the default, because this is how the simple keymap widget works. At the same time I understand why Paul set the default to the zoomin button: * there is no point recentering a full extent map. * that the intention of this keymap is to allow a "mini" duplication of the main map view. * Since the main map view navtools are defaulted to use the zoomin tool. Maybe to solve this is to have a new default navigation function parameter option (choose between recenter and zoomin). Darren I will let you decide weather this is justifiable to have a new enhancement bug. Once this is decided than we can close this bug. Verified on Windows: that this is how the DHTMLKey works.
the ability to choose the default navigation mode already exists. There are two instances of the KeyMapDHTMLMode widget used, they are part of a toolset and you can set one or the other as the default. If you don't like the zoomin tool being the default one, you can change it in the template. But that is an application design and documentation/user help issue, not a bug or enhancement.
Verified on Fedora Core 2. Not a bug.