|
@@ -11,7 +11,7 @@
|
|
|
v-if="showBack"
|
|
|
@click="beBack"
|
|
|
src="@/assets/images/main/back.png"
|
|
|
- style="width: 34px;height: 30px;cursor: pointer;position: absolute;right: 50px;bottom: 50px;"
|
|
|
+ style="width: 34px;height: 30px;cursor: pointer;position: absolute;right: 50px;bottom: 80px;"
|
|
|
/>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -54,17 +54,17 @@ export default {
|
|
|
晋城市: 晋城市,
|
|
|
},
|
|
|
points:[
|
|
|
- { name: "太原市", coordinate: [111.6993, 38.0570], appOrg: "1A003", x: "0", y: "2" },
|
|
|
- { name: "大同市", coordinate: [113.3002, 40.0768], appOrg: "1B001", x: "0", y: "2" },
|
|
|
- { name: "阳泉市", coordinate: [113.6805, 37.7863], appOrg: "1C001", x: "0", y: "2" },
|
|
|
- { name: "长治市", coordinate: [113.1163, 36.1954], appOrg: "1D001", x: "0", y: "2" },
|
|
|
- { name: "晋城市", coordinate: [113.1513, 35.5907], appOrg: "1E001", x: "0", y: "2" },
|
|
|
- { name: "朔州市", coordinate: [112.4329, 39.5312], appOrg: "1F001", x: "0", y: "2" },
|
|
|
- { name: "晋中市", coordinate: [113.2527, 37.3870], appOrg: "1K001", x: "0", y: "2" },
|
|
|
- { name: "临汾市", coordinate: [111.5186, 35.8582], appOrg: "1L001", x: "0", y: "2" },
|
|
|
- { name: "忻州市", coordinate: [112.7341, 38.6167], appOrg: "1H001", x: "0", y: "2" },
|
|
|
- { name: "运城市", coordinate: [110.9069, 34.9264], appOrg: "1M001", x: "0", y: "2" },
|
|
|
- { name: "吕梁市", coordinate: [111.1443, 37.4183], appOrg: "1J001", x: "0", y: "2" }
|
|
|
+ { name: "太原市", coordinate: [111.9393, 38.0070], appOrg: "1A003", x: "0", y: "2" },
|
|
|
+ { name: "大同市", coordinate: [113.72499, 39.904541], appOrg: "1B001", x: "0", y: "2" },
|
|
|
+ { name: "阳泉市", coordinate: [113.505474, 38.064652], appOrg: "1C001", x: "0", y: "2" },
|
|
|
+ { name: "长治市", coordinate: [113.121277, 36.478022], appOrg: "1D001", x: "0", y: "2" },
|
|
|
+ { name: "晋城市", coordinate: [112.783186, 35.610944], appOrg: "1E001", x: "0", y: "2" },
|
|
|
+ { name: "朔州市", coordinate: [112.388197, 39.579375], appOrg: "1F001", x: "0", y: "2" },
|
|
|
+ { name: "晋中市", coordinate: [113.259398, 37.329161], appOrg: "1K001", x: "0", y: "2" },
|
|
|
+ { name: "临汾市", coordinate: [111.491988, 36.228828], appOrg: "1L001", x: "0", y: "2" },
|
|
|
+ { name: "忻州市", coordinate: [112.664867, 38.685126], appOrg: "1H001", x: "0", y: "2" },
|
|
|
+ { name: "运城市", coordinate: [110.920718, 35.188073], appOrg: "1M001", x: "0", y: "2" },
|
|
|
+ { name: "吕梁市", coordinate: [111.268548, 37.684104], appOrg: "1J001", x: "0", y: "2" }
|
|
|
]
|
|
|
}
|
|
|
},
|
|
@@ -167,19 +167,19 @@ export default {
|
|
|
{
|
|
|
type: "scatter", // 散点图(用于标注特殊位置)
|
|
|
coordinateSystem: "geo", // 使用 `geo` 作为坐标系
|
|
|
- symbol: "image://" + require("@/assets/zhang/myMap/carPosition.png"), // 自定义标记(图片)
|
|
|
- symbolSize: [30, 55], // 标记大小(宽 30,高 20)
|
|
|
+ symbol: "image://" + require("@/assets/zhang/myMap/circle.png"), // 自定义标记(图片)
|
|
|
+ symbolSize: [65, 65], // 标记大小(宽 30,高 20)
|
|
|
label: {
|
|
|
show: true, // 显示数字
|
|
|
- position: "right", // 数字显示在图标的正上方
|
|
|
+ position: "inside", // 数字显示在图标的正上方
|
|
|
color: "#fff", // 文字颜色(白色)
|
|
|
- fontSize: 14, // 字体大小
|
|
|
- fontWeight: "bold", // 加粗
|
|
|
- backgroundColor: "rgba(75,117,117,0.59)", // 文字背景色(可选)
|
|
|
- borderColor: "rgba(56,236,250)", // 边框颜色
|
|
|
- borderWidth: 1,
|
|
|
- padding: [6, 7], // 文字内边距(可选)
|
|
|
- borderRadius: 2, // 文字框圆角(可选)
|
|
|
+ fontSize: 18, // 字体大小
|
|
|
+ fontWeight: "500", // 加粗
|
|
|
+ // backgroundColor: "rgba(75,117,117,0.59)", // 文字背景色(可选)
|
|
|
+ // borderColor: "rgba(56,236,250)", // 边框颜色
|
|
|
+ // borderWidth: 1,
|
|
|
+ // padding: [6, 7], // 文字内边距(可选)
|
|
|
+ // borderRadius: 2, // 文字框圆角(可选)
|
|
|
},
|
|
|
data: this.points.map(({ name, coordinate, appOrg, x, y }) => ({
|
|
|
name, // 点名称
|
|
@@ -195,7 +195,7 @@ export default {
|
|
|
type: "scatter", // 散点图(用于标注特殊位置)
|
|
|
coordinateSystem: "geo", // 使用 `geo` 作为坐标系
|
|
|
name: "center",
|
|
|
- symbol: "image://" + require("@/assets/images/build_icon.png"),
|
|
|
+ symbol: "image://" + require("@/assets/zhang/myMap/building.png"),
|
|
|
symbolSize: 40, // 标记的大小
|
|
|
data: [{
|
|
|
name: "山西省公司(本部)",
|