geospatialdraw
Version:
Geospatial Map Drawing Library
15 lines (14 loc) • 445 B
TypeScript
import * as React from 'react';
import * as Units from '../units';
type Props = {
/** Latitude degrees */
lat: number;
/** Longitude degrees */
lon: number;
/** Called when the coordinates change (should update lat & lon) */
setCoordinate: (lat: number, lon: number) => void;
/** Coordinate Unit to display */
unit: Units.CoordinateUnit;
};
declare const PointEditor: React.FC<Props>;
export default PointEditor;