mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
parent
ca0579cefd
commit
d0b609b416
@ -14,7 +14,6 @@ import {backendTexts} from '../../../../common/BackendTexts';
|
|||||||
import {ProjectPath} from '../../../ProjectPath';
|
import {ProjectPath} from '../../../ProjectPath';
|
||||||
import {DatabaseType} from '../../../../common/config/private/PrivateConfig';
|
import {DatabaseType} from '../../../../common/config/private/PrivateConfig';
|
||||||
import {FileEntity} from '../../database/sql/enitites/FileEntity';
|
import {FileEntity} from '../../database/sql/enitites/FileEntity';
|
||||||
import {global} from '../../../../../node_modules/@angular/compiler/src/util';
|
|
||||||
import {DirectoryBaseDTO, DirectoryDTOUtils} from '../../../../common/entities/DirectoryDTO';
|
import {DirectoryBaseDTO, DirectoryDTOUtils} from '../../../../common/entities/DirectoryDTO';
|
||||||
|
|
||||||
const LOG_TAG = '[FileJob]';
|
const LOG_TAG = '[FileJob]';
|
||||||
|
@ -95,7 +95,7 @@ export class MapService {
|
|||||||
file.name
|
file.name
|
||||||
);
|
);
|
||||||
const gpx = await this.networkService.getXML(
|
const gpx = await this.networkService.getXML(
|
||||||
'/gallery/content/' + filePath
|
'/gallery/content/' + filePath + '/bestFit'
|
||||||
);
|
);
|
||||||
const getCoordinates = (tagName: string): LatLngLiteral[] => {
|
const getCoordinates = (tagName: string): LatLngLiteral[] => {
|
||||||
const elements = gpx.getElementsByTagName(tagName);
|
const elements = gpx.getElementsByTagName(tagName);
|
||||||
|
Loading…
Reference in New Issue
Block a user