1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Adding missing bestFit url ending to gpx file request

#504
This commit is contained in:
Patrik J. Braun 2022-06-25 23:06:42 +02:00
parent ca0579cefd
commit d0b609b416
2 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,6 @@ import {backendTexts} from '../../../../common/BackendTexts';
import {ProjectPath} from '../../../ProjectPath';
import {DatabaseType} from '../../../../common/config/private/PrivateConfig';
import {FileEntity} from '../../database/sql/enitites/FileEntity';
import {global} from '../../../../../node_modules/@angular/compiler/src/util';
import {DirectoryBaseDTO, DirectoryDTOUtils} from '../../../../common/entities/DirectoryDTO';
const LOG_TAG = '[FileJob]';

View File

@ -95,7 +95,7 @@ export class MapService {
file.name
);
const gpx = await this.networkService.getXML(
'/gallery/content/' + filePath
'/gallery/content/' + filePath + '/bestFit'
);
const getCoordinates = (tagName: string): LatLngLiteral[] => {
const elements = gpx.getElementsByTagName(tagName);