fix:路面病害对比
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Author: SunTao 328867980@qq.com
|
||||
* @Date: 2024-10-09 13:11:56
|
||||
* @LastEditors: SunTao 328867980@qq.com
|
||||
* @LastEditTime: 2024-10-11 15:01:25
|
||||
* @LastEditTime: 2024-10-14 17:05:20
|
||||
* @FilePath: \znxjxt-ui\src\views\xj\parameter\index.vue
|
||||
* @Description: 系统工具-系统参数
|
||||
-->
|
||||
@@ -68,7 +68,7 @@ import logo from "@/assets/xc.png";
|
||||
import { Point } from "ol/geom";
|
||||
import { Style, Icon } from "ol/style";
|
||||
import VectorLayer from "ol/layer/Vector";
|
||||
import { getMapInfo ,updateMapInfo} from "@/api/xj/parameter";
|
||||
import { getMapInfo, updateMapInfo } from "@/api/xj/parameter";
|
||||
|
||||
export default {
|
||||
name: "Parameter",
|
||||
@@ -141,6 +141,7 @@ export default {
|
||||
/* 地图打点 */
|
||||
drawPoint(value) {
|
||||
const features = [];
|
||||
|
||||
const point = new Point(value); // 修改坐标格式
|
||||
const feature = new Feature({
|
||||
geometry: point,
|
||||
|
||||
Reference in New Issue
Block a user