API reference@mapcairn/coreFunctionsclearPinOn this pageclearPin Removes the pin, and closes its card if that is the active surface. This is a function exported by @mapcairn/core, checked against version 0.2.0. Signature import { clearPin } from "@mapcairn/core"; function clearPin(): SurfaceAction; Returns SurfaceAction See also SurfaceAction Source: packages/core/src/surface/surface.ts:171