diff options
author | bobzel <zzzman@gmail.com> | 2024-05-03 10:55:33 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-05-03 10:55:33 -0400 |
commit | f927a585c75a20629379bcb34d1483c0ca9d8db9 (patch) | |
tree | f070e9e64ecaf251e6708b8ce4d722f121a6d039 /src/client/views/nodes/MapBox/GeocoderControl.tsx | |
parent | 723c8b33ade753764d1d02b130c189fb65e20425 (diff) | |
parent | 9b424c94d7a89950e9cf3f72e684bd15a61e87ae (diff) |
merged with new version of 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 +// }; |