placePoint
Where one position is drawn, or null when it is beyond the horizon of a globe. On a flat map the copy of the world nearest the view centre is used, so a mark just across the antimeridian stays on the screen.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { placePoint } from "@mapcairn/core";
function placePoint(position: LatLng, placement: MapPlacement): PixelPoint | null;
Parameters
position(LatLng)placement(MapPlacement)
Returns
PixelPoint | null