增加地图元素清空功能,完成附近医院路线规划功能
This commit is contained in:
@@ -47,7 +47,8 @@ export const tabList = [
|
||||
export const helicopter = new URL('/@/assets/img/helicopter.png', import.meta.url).href;
|
||||
export const mapbg = new URL('/@/assets/img/helicopter.png', import.meta.url).href;
|
||||
export const alarmIcon = new URL('/@/assets/img/alarm-icon.png', import.meta.url).href;
|
||||
|
||||
export const male = new URL('/@/assets/img/male.png', import.meta.url).href;
|
||||
export const female = new URL('/@/assets/img/female.png', import.meta.url).href;
|
||||
// 直升机位置数据
|
||||
export const aircraft = [
|
||||
{
|
||||
@@ -171,4 +172,4 @@ export function getKmStr(distance: number): string {
|
||||
if (!distance) return '';
|
||||
let d = convertMetersToKilometers(distance);
|
||||
return d >= 1 ? d + '公里' : d * 100 + '米';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user