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.

12 lines (10 loc) 236 B
export interface PinsState { transformedCoordinate: number[] latLon: number[] coordinatesAfterDrag: number[] getsDragged: boolean } export interface PinsGetters extends PinsState { toZoomLevel: number atZoomLevel: number }