feat: add Google Maps list import
Import places from shared Google Maps lists via URL. Button in places sidebar next to GPX import opens a modal where users can paste a shared list link. Server fetches list data from Google Maps and creates places with name, coordinates and notes. i18n keys added for all 12 languages. Closes #205
This commit is contained in:
@@ -107,6 +107,8 @@ export const placesApi = {
|
||||
const fd = new FormData(); fd.append('file', file)
|
||||
return apiClient.post(`/trips/${tripId}/places/import/gpx`, fd, { headers: { 'Content-Type': 'multipart/form-data' } }).then(r => r.data)
|
||||
},
|
||||
importGoogleList: (tripId: number | string, url: string) =>
|
||||
apiClient.post(`/trips/${tripId}/places/import/google-list`, { url }).then(r => r.data),
|
||||
}
|
||||
|
||||
export const assignmentsApi = {
|
||||
|
||||
Reference in New Issue
Block a user