diff --git a/src/components/Map/MapGisLine.vue b/src/components/Map/MapGisLine.vue index 2739d302..04d74b8c 100644 --- a/src/components/Map/MapGisLine.vue +++ b/src/components/Map/MapGisLine.vue @@ -168,7 +168,7 @@ export default { newFeature.setStyle(new ol.style.Style({ image: new ol.style.Icon({ //设置图标偏移 - anchor: [0.5, 1], + anchor: [0.5, 0.5], //标注样式的起点位置 anchorOrigin: "top-right", //X方向单位:分数 diff --git a/src/components/Map/MapGisTagDTGCopy.vue b/src/components/Map/MapGisTagDTGCopy.vue index 640e8784..7b504b70 100644 --- a/src/components/Map/MapGisTagDTGCopy.vue +++ b/src/components/Map/MapGisTagDTGCopy.vue @@ -164,7 +164,7 @@ newFeature.setStyle(new ol.style.Style({ image: new ol.style.Icon({ //设置图标偏移 - anchor: [0.5, 1], + anchor: [0.5, 0.5], //标注样式的起点位置 anchorOrigin: "top-right", //X方向单位:分数 diff --git a/src/views/sunVillage_info/fixedAssets.vue b/src/views/sunVillage_info/fixedAssets.vue index ee13bfd5..bfb4f1b3 100644 --- a/src/views/sunVillage_info/fixedAssets.vue +++ b/src/views/sunVillage_info/fixedAssets.vue @@ -9,11 +9,8 @@