UNPKG

@polar/plugin-pins

Version:

Pins plugin for POLAR that adds map interactions to client that allow users to indicate a specific point on the map.

9 lines (7 loc) 185 B
import { PinsState } from '../types' export const getInitialState = (): PinsState => ({ transformedCoordinate: [], latLon: [], coordinatesAfterDrag: [], getsDragged: false, })