AlbersProjection constructor
AlbersProjection({})
Creates an Albers projection with standard parallels.
Implementation
AlbersProjection({
(double, double)? center,
double scale = 1,
Point? translate,
double parallels0 = 29.5,
double parallels1 = 45.5,
}) : _parallels0 = parallels0,
_parallels1 = parallels1 {
if (center != null) this.center = center;
this.scale = scale;
if (translate != null) this.translate = translate;
_recalculate();
}