diff options
| author | bobzel <zzzman@gmail.com> | 2024-05-19 02:08:43 -0400 | 
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-05-19 02:08:43 -0400 | 
| commit | 6841dc0fd2aecf31eda2102e660c58905d1e6f44 (patch) | |
| tree | 821b79178aa07001274759c716badb2a8a170056 /src/client/views/nodes/MapBox/GeocoderControl.tsx | |
| parent | 2fc1fb7d322ab0950afb0d334c17aa93bd16f6c0 (diff) | |
| parent | 13dc6de0e0099f699ad0d2bb54401e6a0aa25018 (diff) | |
merged with soon-to-be-master
Diffstat (limited to 'src/client/views/nodes/MapBox/GeocoderControl.tsx')
| -rw-r--r-- | src/client/views/nodes/MapBox/GeocoderControl.tsx | 7 | 
1 files changed, 1 insertions, 6 deletions
diff --git a/src/client/views/nodes/MapBox/GeocoderControl.tsx b/src/client/views/nodes/MapBox/GeocoderControl.tsx index e4ba51316..e118c57d9 100644 --- a/src/client/views/nodes/MapBox/GeocoderControl.tsx +++ b/src/client/views/nodes/MapBox/GeocoderControl.tsx @@ -3,8 +3,6 @@  // import { ControlPosition, MarkerProps, useControl } from "react-map-gl";  // import '@mapbox/mapbox-gl-geocoder/dist/mapbox-gl-geocoder.css' - -  // export type GeocoderControlProps = Omit<GeocoderOptions, 'accessToken' | 'mapboxgl' | 'marker'> & {  //     mapboxAccessToken: string;  //     marker?: Omit<MarkerProps, 'longitude' | 'latitude'>; @@ -31,7 +29,6 @@  //           ctrl.on('results', props.onResults);  //           ctrl.on('result', evt => {  //             props.onResult(evt); -      //             // const {result} = evt;  //             // const location =  //             //   result && @@ -49,8 +46,6 @@  //           position: props.position  //         }  //       ); - -  //     // @ts-ignore (TS2339) private member  //     if (geocoder._map) {  //         if (geocoder.getProximity() !== props.proximity && props.proximity !== undefined) { @@ -104,4 +99,4 @@  //   onLoading: noop,  //   onResults: noop,  //   onError: noop -// };
\ No newline at end of file +// };  | 
