MapViewPosition.zoomIn constructor

MapViewPosition.zoomIn(
  1. MapViewPosition old
)

Implementation

MapViewPosition.zoomIn(MapViewPosition old)
    : _latitude = old._latitude,
      _longitude = old._longitude,
      zoomLevel = old.zoomLevel + 1,
      indoorLevel = old.indoorLevel,
      tileSize = old.tileSize,
      scale = 1,
      focalPoint = null {
  _mercatorProjection = MercatorProjectionImpl(old.tileSize, zoomLevel);
}