refuseBoxOnGlobe
Refuses a box view on a globe, which no adapter can frame reliably yet: the camera that fits a box is a flat one, and once the projection is a sphere the box can lie beyond what the sphere shows. A centre and zoom is drawn on either. A later step may frame a box on a globe.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { refuseBoxOnGlobe } from "@mapcairn/core";
function refuseBoxOnGlobe(view: MapImageView, projection: MapProjection): void;
Parameters
view(MapImageView)projection(MapProjection)
Returns
void
Throws
- MapImageExportError of kind
invalid.