Changeset 5396
- Timestamp:
- 12/13/07 09:53:36 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Handler/Point.js
r5085 r5396 88 88 // create temporary vector layer for rendering geometry sketch 89 89 // TBD: this could be moved to initialize/destroy - setting visibility here 90 var options = {displayInLayerSwitcher: false}; 90 var options = { 91 displayInLayerSwitcher: false, 92 // indicate that the temp vector layer will never be out of range 93 // without this, resolution properties must be specified at the 94 // map-level for this temporary layer to init its resolutions 95 // correctly 96 calculateInRange: function() { return true; } 97 }; 91 98 this.layer = new OpenLayers.Layer.Vector(this.CLASS_NAME, options); 92 99 this.map.addLayer(this.layer);
