UNPKG

maplibre-gl-js-amplify

Version:

MapLibre Plugin to Support Amplify Geo Integration

20 lines (19 loc) 990 B
import { Geofence } from '../types'; import { createElement, removeElement } from '../utils'; export declare function AmplifyGeofenceControlUI(geofenceControl: any, geofenceControlContainer: HTMLElement): { registerControlPosition: (map: any, positionName: any) => void; createElement: typeof createElement; removeElement: typeof removeElement; createGeofenceCreateContainer: (isCircle?: boolean) => void; createGeofenceListContainer: () => void; removeAddGeofenceContainer: () => void; createAddGeofencePromptError: (error: string) => void; renderListItem: (geofence: Geofence) => void; updateCheckbox: (geofenceId: string, checked: boolean) => void; removeGeofenceListItem: (geofenceId: string) => void; setGeofenceListEnabled: (enabled: any) => void; getCheckboxAllValue: () => boolean; removeGeofenceCreateContainer: () => void; updateGeofenceCount: (count: number) => void; updateGeofenceRadius: (radius: number) => void; };