Changeset 6158
- Timestamp:
- 02/08/08 20:31:37 (10 months ago)
- Files:
-
- sandbox/tschaub/events/build/build.py (modified) (1 diff)
- sandbox/tschaub/events/build/buildUncompressed.py (modified) (1 diff)
- sandbox/tschaub/events/examples/navigation-history.html (copied) (copied from trunk/openlayers/examples/navigation-history.html)
- sandbox/tschaub/events/lib/OpenLayers.js (modified) (1 diff)
- sandbox/tschaub/events/lib/OpenLayers/Control/NavigationHistory.js (copied) (copied from trunk/openlayers/lib/OpenLayers/Control/NavigationHistory.js)
- sandbox/tschaub/events/lib/OpenLayers/Control/Panel.js (modified) (1 diff)
- sandbox/tschaub/events/lib/OpenLayers/Handler/Point.js (modified) (1 diff)
- sandbox/tschaub/events/tests/Control/test_NavigationHistory.html (copied) (copied from trunk/openlayers/tests/Control/test_NavigationHistory.html)
- sandbox/tschaub/events/tests/list-tests.html (modified) (1 diff)
- sandbox/tschaub/events/theme/default/img/view_next_off.png (copied) (copied from trunk/openlayers/theme/default/img/view_next_off.png)
- sandbox/tschaub/events/theme/default/img/view_next_on.png (copied) (copied from trunk/openlayers/theme/default/img/view_next_on.png)
- sandbox/tschaub/events/theme/default/img/view_previous_off.png (copied) (copied from trunk/openlayers/theme/default/img/view_previous_off.png)
- sandbox/tschaub/events/theme/default/img/view_previous_on.png (copied) (copied from trunk/openlayers/theme/default/img/view_previous_on.png)
- sandbox/tschaub/events/theme/default/style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/tschaub/events/build/build.py
r5635 r6158 18 18 19 19 sourceDirectory = "../lib" 20 configFilename = " library.cfg"20 configFilename = "full.cfg" 21 21 outputFilename = "OpenLayers.js" 22 22 sandbox/tschaub/events/build/buildUncompressed.py
r5633 r6158 7 7 8 8 sourceDirectory = "../lib" 9 configFilename = " library.cfg"9 configFilename = "full.cfg" 10 10 outputFilename = "OpenLayers.js" 11 11 sandbox/tschaub/events/lib/OpenLayers.js
r6125 r6158 156 156 "OpenLayers/Control/Panel.js", 157 157 "OpenLayers/Control/SelectFeature.js", 158 "OpenLayers/Control/NavigationHistory.js", 158 159 "OpenLayers/Geometry.js", 159 160 "OpenLayers/Geometry/Rectangle.js", sandbox/tschaub/events/lib/OpenLayers/Control/Panel.js
r6155 r6158 111 111 */ 112 112 redraw: function() { 113 console.log('asdf');114 113 this.div.innerHTML = ""; 115 114 if (this.active) { sandbox/tschaub/events/lib/OpenLayers/Handler/Point.js
r6011 r6158 152 152 */ 153 153 finalize: function() { 154 this.layer.renderer.clear(); 155 this.drawing = false; 154 this.cleanup("done"); 155 }, 156 157 /** 158 * APIMethod: cancel 159 * Finish the geometry and call the "cancel" callback. 160 */ 161 cancel: function() { 162 this.cleanup("cancel"); 163 }, 164 165 cleanup: function(callback) { 166 this.layer.eraseFeatures(this.point); 156 167 this.mouseDown = false; 157 168 this.lastDown = null; 158 169 this.lastUp = null; 159 this.callback("done", [this.geometryClone()]); 160 this.destroyFeature(); 161 }, 162 163 /** 164 * APIMethod: cancel 165 * Finish the geometry and call the "cancel" callback. 166 */ 167 cancel: function() { 168 this.layer.renderer.clear(); 169 this.drawing = false; 170 this.mouseDown = false; 171 this.lastDown = null; 172 this.lastUp = null; 173 this.callback("cancel", [this.geometryClone()]); 170 this.callback(callback, [this.geometryClone()]); 174 171 this.destroyFeature(); 175 172 }, sandbox/tschaub/events/tests/list-tests.html
r6125 r6158 84 84 <li>Control/test_ModifyFeature.html</li> 85 85 <li>Control/test_MousePosition.html</li> 86 <li>Control/test_NavigationHistory.html</li> 86 87 <li>Control/test_MouseToolbar.html</li> 87 88 <li>Control/test_Navigation.html</li> sandbox/tschaub/events/theme/default/style.css
r6125 r6158 111 111 } 112 112 113 .olControlNavigationHistoryPreviousItemActive { 114 background-image: url("img/view_previous_on.png"); 115 background-repeat: no-repeat; 116 width: 24px; 117 height: 24px; 118 } 119 .olControlNavigationHistoryPreviousItemInactive { 120 background-image: url("img/view_previous_off.png"); 121 background-repeat: no-repeat; 122 width: 24px; 123 height: 24px; 124 } 125 .olControlNavigationHistoryNextItemActive { 126 background-image: url("img/view_next_on.png"); 127 background-repeat: no-repeat; 128 width: 24px; 129 height: 24px; 130 } 131 .olControlNavigationHistoryNextItemInactive { 132 background-image: url("img/view_next_off.png"); 133 background-repeat: no-repeat; 134 width: 24px; 135 height: 24px; 136 } 137 113 138 .olControlNavToolbar .olControlNavigationItemActive { 114 139 background-image: url("img/panning-hand-on.png");
