Changeset 604
- Timestamp:
- 07/16/08 18:37:24 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/tom-tweenlite/lib/com/modestmaps/mapproviders/AbstractMapProvider.as
r599 r604 37 37 * Abstract constructor, should not be instantiated directly. 38 38 */ 39 public function AbstractMapProvider( )39 public function AbstractMapProvider(minZoom:int=MIN_ZOOM, maxZoom:int=MAX_ZOOM) 40 40 { 41 41 // see: http://modestmaps.mapstraction.com/trac/wiki/TileCoordinateComparisons#TileGeolocations … … 45 45 __projection = new MercatorProjection(26, t); 46 46 47 __topLeftOutLimit = new Coordinate(0, Number.NEGATIVE_INFINITY, MIN_ZOOM);48 __bottomRightInLimit = (new Coordinate(1, Number.POSITIVE_INFINITY, 0)).zoomTo( MAX_ZOOM);47 __topLeftOutLimit = new Coordinate(0, Number.NEGATIVE_INFINITY, minZoom); 48 __bottomRightInLimit = (new Coordinate(1, Number.POSITIVE_INFINITY, 0)).zoomTo(maxZoom); 49 49 } 50 50
