Changeset 1306
- Timestamp:
- 08/19/06 01:00:54 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/openlayers/2.0/lib/OpenLayers/Control/PanZoomBar.js
r1305 r1306 78 78 79 79 var id = "OpenLayers_Control_PanZoomBar_Slider" + this.map.id; 80 var zoomsToEnd = this.map.getNumZoomLevels() - 1 - this.map.getZoom(); 80 81 var slider = OpenLayers.Util.createAlphaImageDiv(id, 81 centered.add(-1, 82 (this.map.getNumZoomLevels()-1) * this.zoomStopHeight), 82 centered.add(-1, zoomsToEnd * this.zoomStopHeight), 83 83 new OpenLayers.Size(20,9), 84 84 imgLocation+"slider.png",
