diff --git a/public/index.html b/public/index.html index 8217e7f..6f794f6 100644 --- a/public/index.html +++ b/public/index.html @@ -3,7 +3,7 @@ - + 地图 diff --git a/src/views/Index.vue b/src/views/Index.vue index 0c50d45..9aff55e 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -236,6 +236,7 @@ maxZoom: 15, showControl: true, // 是否显示地图上的控件 // viewMode: '2D', // 地图视图模式,支持2D和3D,默认为3D。2D模式下俯仰角和旋转角度始终为0 + rotatable: false, rotation: 0, //设置地图旋转角度 }); @@ -539,7 +540,7 @@ id: 'label', // 点图形数据的标志信息 styleId: 'label', // 样式id position: new TMap.LatLng(item.lonlat[1], item.lonlat[0]), // 标注点位置 - content: (index == 0 ? '起' : (index+1 == data.points.length ? '终' : index + 1)).toString(), // 标注文本 + content: (index == 0 ? '起' : (index+1 == data.points.length ? '终' : (index + 1).toString())), // 标注文本 properties: { // 标注点的属性数据 title: 'label', diff --git a/src/views/LineList.vue b/src/views/LineList.vue index 605cd84..69e1178 100644 --- a/src/views/LineList.vue +++ b/src/views/LineList.vue @@ -3,7 +3,7 @@
-
{{type ? '我的行程' : '地图导览'}}
+
{{type ? '地图导览' : '线路推荐'}}