OpenLayers OpenLayers

Changeset 2299

Show
Ignore:
Timestamp:
03/04/07 01:43:55 (2 years ago)
Author:
bwoodall
Message:

Code, patch, and test for Ticket #450

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/bwoodall/T450/openlayers/build/build.py

    r2126 r2299  
    1717print "Merging libraries." 
    1818merged = 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 
     23minimized = merged 
    2324 
    2425print "Writing to %s." % outputFilename 
  • sandbox/bwoodall/T450/openlayers/lib/OpenLayers/Control/MousePosition.js

    r2089 r2299  
    8282        } 
    8383         
     84// SAD 
    8485        var digits = parseInt(this.numdigits); 
    8586        var newHtml = 
     87            this.map.getZoom()+' '+ 
    8688            this.prefix + 
    8789            lonLat.lon.toFixed(digits) + 
  • sandbox/bwoodall/T450/openlayers/lib/OpenLayers/Layer/Markers.js

    r1721 r2299  
    3232        OpenLayers.Layer.prototype.initialize.apply(this, arguments); 
    3333        this.markers = new Array(); 
     34 
     35        if (this.map && this.map.getExtent()) { 
     36            this.markers.viewRequestID = this.map.viewRequestID; 
     37        } 
    3438    }, 
    3539     
     
    5256        OpenLayers.Layer.prototype.moveTo.apply(this, arguments); 
    5357 
    54         if (zoomChanged) { 
     58        if (zoomChanged ||  
     59            (this.map &&  
     60             this.markers.viewRequestID != this.map.viewRequestID)) { 
    5561            this.redraw(); 
    5662        } 
     63 
     64        this.markers.viewRequestID = this.map.viewRequestID; 
    5765    }, 
    5866