Changeset 815 for branches/landgate/Vespucci/Application.js
- Timestamp:
- 11/06/08 14:24:10 (21 months ago)
- Files:
-
- 1 modified
-
branches/landgate/Vespucci/Application.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/landgate/Vespucci/Application.js
r798 r815 77 77 78 78 if (this.configuration.defaultZoomLevel) { 79 this.map. zoomTo(this.configuration.defaultZoomLevel);79 this.map.setCenter(this.configuration.defaultZoomCenter, this.configuration.defaultZoomLevel); 80 80 } else { 81 81 this.map.zoomToMaxExtent(); … … 172 172 var options = { 173 173 projection: this.configuration.projection, 174 units: "m",175 174 maxExtent: this.configuration.maxExtent, 176 175 restrictedExtent: restrictedExtent, … … 180 179 theme: Vespucci._getScriptLocation() + "Vespucci/Theme/map.css" 181 180 }; 181 182 OpenLayers.Util.extend(options, this.configuration.mapOptions); 182 183 183 184 this.map = new OpenLayers.Map(this.configuration.mapDivId, options);
