We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a7efc7 commit caf6445Copy full SHA for caf6445
src/hooks/elevation.ts
@@ -5,7 +5,7 @@ import useGoogleMap from './map-instance';
5
/**
6
* Hook to get Elevation Service instance
7
*/
8
-const useElevation = (): google.maps.ElevationService | null => {
+const useElevationService = (): google.maps.ElevationService | null => {
9
const {map} = useGoogleMap();
10
11
// Creates a Elevation Service instance
@@ -22,4 +22,4 @@ const useElevation = (): google.maps.ElevationService | null => {
22
return elevationService;
23
};
24
25
-export default useElevation;
+export default useElevationService;
0 commit comments