kkpowar / gmaps-utility-library-dev

Automatically exported from code.google.com/p/gmaps-utility-library-dev
0 stars 0 forks source link

ExtLargeMapControl does not "shrink" to reflect a limited zoom range #78

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Limiting the range of zoom levels that the user is allowed to see on
your map while using ExtLargeMapControl will not reduce the vertical size
of the zoom slider control.
2. Following the steps outlined by Mike Williams' tutorial here
(http://econym.org.uk/gmap/range.htm), the resolution range will be limited
but the slider will not shrink to reflect this limit.  
3. This is also evident when switching between map types with different
zoom ranges, such as switching between "Map" and "Terrain" map types.  The
ExtLargeMapControl will not "shrink" to reflect the smaller total range of
zoom in the Terrain map type. 

What is the expected output? What do you see instead?

Following Mike Williams' tutorial, editing the minimum and maximum
resolution would normally produce a shortened map control that reflects the
restricted zoom levels.  Instead, the ExtLargeMapControl does not change in
size.  An example of this issue can be seen here: 

http://tiger.towson.edu/users/preese2/campusmap/towson_ext.html

What version of the product are you using? On what operating system?

I am using ExtLargeMapControl 1.0
(http://gmaps-utility-library.googlecode.com/svn/trunk/extlargemapcontrol/), and
I am using Microsoft Windows XP Professional Version 2002 Service Pack 3.

Please provide any additional information below.

The issue has been replicated using FireFox 3.0.5, Internet Explorer 6.0, 
Safari 3.1.2, and Opera 9.62. 

Original issue reported on code.google.com by phi...@gmail.com on 13 Jan 2009 at 7:07

GoogleCodeExporter commented 8 years ago

Original comment by pamela.fox on 13 Jan 2009 at 9:41

GoogleCodeExporter commented 8 years ago
Started on this issue.

Original comment by bbr...@gmail.com on 14 Jan 2009 at 11:36

GoogleCodeExporter commented 8 years ago
Added event on map: mapchanged when the control is added.

This event will call the new private method _updateZoomSliderRange to update
height/width/minzoom/maxzoom of the slider.

Also solved lots of jslint errors, please developers, remember to run JSLINT.

Original comment by bbr...@gmail.com on 14 Jan 2009 at 12:31

GoogleCodeExporter commented 8 years ago
Will this fix be reflected in a future release, such as 1.1?  

Original comment by phi...@gmail.com on 23 Jan 2009 at 4:44

GoogleCodeExporter commented 8 years ago
Im sure this fix will flow through to the release version, only im not sure how 
the
release producre works exactly.

Original comment by bbr...@gmail.com on 23 Jan 2009 at 4:52

GoogleCodeExporter commented 8 years ago

Original comment by pamela.fox on 28 Jan 2009 at 11:35

GoogleCodeExporter commented 8 years ago
Fix is in ExtLargeMapControl 1.1, which was just pushed to release.

Original comment by pamela.fox on 16 Feb 2009 at 6:02