GeoAlbersUsa class Conic projections Projections

A U.S.-centric composite projection of three geoConicEqualArea projections.

geoAlbers is used for the lower forty-eight states, and separate conic equal-area projections are used for Alaska and Hawaii. Note that the scale for Alaska is diminished: it is projected at 0.35× its true relative area.

See Albers USA with Territories for an extension to all US territories, and d3-composite-projections for more examples.

Implemented types

Constructors

GeoAlbersUsa.new()

Properties

angle double
The projection's post-projection planar rotation angle in degrees.
getter/setter pairinherited
center List<double>
The projection's center.
getter/setter pairinherited
clipAngle double?
The projection's small-circle clipping radius angle in degrees.
getter/setter pairinherited
clipExtent List<List<double>>?
The projection's viewport clipping extent bounds in pixels.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
postclip GeoStream Function(GeoStream)
The projection's cartesian clipping.
getter/setter pairinherited
precision double
The projection’s adaptive resampling threshold in pixels.
getter/setter pairoverride
preclip GeoStream Function(GeoStream)
The projection's spherical clipping.
getter/setter pairinherited
reflectX bool
The projection's x-reflection state.
getter/setter pairinherited
reflectY bool
The projection's x-reflection state.
getter/setter pairinherited
rotate List<double>
The projection's three-axis spherical rotation angles.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
The projection's scale factor.
getter/setter pairoverride
translate List<double>
The projection's translation offset.
getter/setter pairoverride

Methods

call(List<num> coordinates) List<num>?
Returns a new list [x, y] (typically in pixels) representing the projected point of the given point.
override
fitExtent(List<List<double>> extent, Map object) → void
Sets the projection’s scale and translate to fit the specified GeoJSON object in the center of the given extent.
override
fitHeight(double height, Map object) → void
A convenience method for fitSize where the width is automatically chosen from the aspect ratio of object and the given constraint on height.
override
fitSize(List<double> size, Map object) → void
A convenience method for fitExtent where the top-left corner of the extent is [0, 0].
override
fitWidth(double width, Map object) → void
A convenience method for fitSize where the height is automatically chosen from the aspect ratio of object and the given constraint on width.
override
invert(List<num> coordinates) List<num>?
Returns a new list [longitude, latitude] in degrees representing the unprojected point of the given projected point.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
override
stream(GeoStream stream) GeoStream
Returns a projection stream for the specified stream.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited