Skip to content

Commit c080dbb

Browse files
committed
locations ok
1 parent d32d5af commit c080dbb

File tree

14 files changed

+447
-479
lines changed

14 files changed

+447
-479
lines changed

src/api/geocoding.service.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { Geocoding } from '@/interfaces/maps'
2+
3+
/**
4+
* suggest location from nuxt server (google maps)
5+
*
6+
* @function
7+
* @name useSuggestLocations
8+
* @kind variable
9+
* @param {any} config
10+
* @returns {AsyncData<Geocoding[], FetchError<any>>}
11+
* @exports
12+
*/
13+
export const useSuggestLocations = (config) => {
14+
return $fetch<Geocoding[]>('/geocoding', config)
15+
}

0 commit comments

Comments
 (0)