transform property
GeoTransform?
transform
A transform applied to any input geometry before it is rendered.
The null
transform represents the identity transformation: the
input geometry is not transformed and is instead rendered directly in raw
coordinates. This can be useful for fast rendering of
pre-projected geometry,
or for fast rendering of the equirectangular projection.
Is typically one of built-in geographic projections; however, any object that implements GeoTransform can be used, enabling the use of custom projections.
Implementation
GeoTransform? get transform => _transform;
Implementation
set transform(GeoTransform? _) {
if (_ == null) {
_transform = null;
_transformStream = identity;
} else {
_transformStream = (_transform = _);
}
}