Changeset 7483
- Timestamp:
- 07/09/08 10:50:32 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/vector-behavior/lib/OpenLayers/Strategy/Grid.js
r7482 r7483 80 80 /** 81 81 */ 82 moveTo: function(bounds, position) { 83 this.bounds = bounds; 84 this.position = position; 85 this.draw(); 82 moveTo: function(bounds, position, redraw) { 83 if (redraw == null) { 84 redraw = true; 85 } 86 this.bounds = bounds.clone(); 87 this.position = position.clone(); 88 if (redraw) { 89 this.draw(); 90 } 86 91 }, 87 92
