fix(api): Use estimateElevation in tactical.service.ts
This commit is contained in:
@@ -936,7 +936,7 @@ export class TacticalService {
|
|||||||
type: mappedType,
|
type: mappedType,
|
||||||
lat: Number(p.latitude),
|
lat: Number(p.latitude),
|
||||||
lng: Number(p.longitude),
|
lng: Number(p.longitude),
|
||||||
elevationM: Math.round(this.calculateElevationSample(Number(p.latitude), Number(p.longitude))),
|
elevationM: Math.round(this.estimateElevation(Number(p.latitude), Number(p.longitude))),
|
||||||
description: p.description || p.address || p.category || 'معلم تكتيكي مسترجع من قاعدة بيانات PostGIS السيادية',
|
description: p.description || p.address || p.category || 'معلم تكتيكي مسترجع من قاعدة بيانات PostGIS السيادية',
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user