clipAngle property
double?
get
clipAngle
The projection's small-circle clipping radius angle in degrees.
Defaults to null
, which represents the
antimeridian cutting rather than small-circle
clipping. Small-circle clipping is independent of viewport
clipping via clipExtent.
See also preclip, geoClipAntimeridian, geoClipCircle.
Implementation
double? get clipAngle => _theta == null ? null : _theta! * degrees;
set
clipAngle
(double? clipAngle)
Implementation
set clipAngle(double? clipAngle) {
if (clipAngle != null && clipAngle > 0) {
preclip = geoClipCircle(_theta = clipAngle * radians);
} else {
_theta = null;
preclip = geoClipAntimeridian;
}
_reset();
}