MapViewPosition constructor

MapViewPosition(
  1. double _latitude,
  2. double _longitude,
  3. int zoomLevel,
  4. int indoorLevel,
  5. double tileSize
)

Implementation

MapViewPosition(this._latitude, this._longitude, this.zoomLevel, this.indoorLevel, this.tileSize)
    : scale = 1,
      focalPoint = null,
      assert(zoomLevel >= 0),
      assert(tileSize > 0),
      assert(_latitude == null || MercatorProjectionImpl.checkLatitude(_latitude)),
      assert(_longitude == null || MercatorProjectionImpl.checkLongitude(_longitude)),
      _mercatorProjection = MercatorProjectionImpl(tileSize, zoomLevel);