Changeset 2299
- Timestamp:
- 03/04/07 01:43:55 (2 years ago)
- Files:
-
- sandbox/bwoodall/T450/openlayers (copied) (copied from trunk/openlayers)
- sandbox/bwoodall/T450/openlayers/build/build.py (modified) (1 diff)
- sandbox/bwoodall/T450/openlayers/lib/OpenLayers/Control/MousePosition.js (modified) (1 diff)
- sandbox/bwoodall/T450/openlayers/lib/OpenLayers/Layer/Markers.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/bwoodall/T450/openlayers/build/build.py
r2126 r2299 17 17 print "Merging libraries." 18 18 merged = mergejs.run(sourceDirectory, None, configFilename) 19 print "Compressing." 20 minimized = jsmin.jsmin(merged) 21 print "Adding license file." 22 minimized = file("license.txt").read() + minimized 19 #print "Compressing." 20 #minimized = jsmin.jsmin(merged) 21 #print "Adding license file." 22 #minimized = file("license.txt").read() + minimized 23 minimized = merged 23 24 24 25 print "Writing to %s." % outputFilename sandbox/bwoodall/T450/openlayers/lib/OpenLayers/Control/MousePosition.js
r2089 r2299 82 82 } 83 83 84 // SAD 84 85 var digits = parseInt(this.numdigits); 85 86 var newHtml = 87 this.map.getZoom()+' '+ 86 88 this.prefix + 87 89 lonLat.lon.toFixed(digits) + sandbox/bwoodall/T450/openlayers/lib/OpenLayers/Layer/Markers.js
r1721 r2299 32 32 OpenLayers.Layer.prototype.initialize.apply(this, arguments); 33 33 this.markers = new Array(); 34 35 if (this.map && this.map.getExtent()) { 36 this.markers.viewRequestID = this.map.viewRequestID; 37 } 34 38 }, 35 39 … … 52 56 OpenLayers.Layer.prototype.moveTo.apply(this, arguments); 53 57 54 if (zoomChanged) { 58 if (zoomChanged || 59 (this.map && 60 this.markers.viewRequestID != this.map.viewRequestID)) { 55 61 this.redraw(); 56 62 } 63 64 this.markers.viewRequestID = this.map.viewRequestID; 57 65 }, 58 66
