Browse Source

1.事件处置地点打点图标调整

2.更新GIS文档版本
develop
lau572 3 weeks ago
parent
commit
045664f8aa
  1. 3
      ruoyi-ui/codehelp_readme.md
  2. 40
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/CrowdnessIndicatorRankings/index.vue

3
ruoyi-ui/codehelp_readme.md

@ -13,7 +13,8 @@
- 通用视频组件,用户接入视频流`src\views\JiHeExpressway\components\VideoMulti\index.vue`
3. 较为复杂的页面只有首页的地图和缩略图相关。地图采用高速提供的接口,缩略图采用antv/x6。
- 地图文档:【腾讯文档】SuperMap-GIS组件使用文档 https://docs.qq.com/doc/DY3FYV1RaV2lLeXhO
- 地图文档:【腾讯文档】SuperMap-GIS组件使用文档
https://docs.qq.com/doc/DY2R2ZnBacUJjR1Rm
- 缩略图文档:[X6 图编辑引擎 | AntV](https://x6.antv.vision/zh)

40
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/commandDispatch/Cards/CrowdnessIndicatorRankings/index.vue

@ -168,7 +168,7 @@ export default {
);
});
} else {
Vue.prototype.mapIns.removeLayerByName('lineLayer');
Vue.prototype.mapIns.removeLayerByName('lineLayer');
}
//
// this.$refs.MapContainerRef.showRoadConditions(findIndex === -1);
@ -223,12 +223,16 @@ export default {
points.push({
type: 'event',
longitude: parseFloat(e.longitude),
latitude: parseFloat(e.latitude),
latitude: parseFloat(e.latitude),
iconUrl: iconUrl,
offset: [0,-48],
size: [42,100],
GGoffsetX: 0,
GGoffsetY: 20,
offset: [0,-48],
size: [42,100],
GGoffsetX: 0,
GGoffsetY: -5,
GGimgOffset:[0,0],
GGimgsize:[42,103],
GGstakeOffsetY:45,
stakeOffsetY:25,
otherInfo: {
ext: null,
name: e.deviceName,
@ -289,7 +293,7 @@ export default {
e = null;
});
}
}
},
handledDialogCamera(bool) {
@ -326,14 +330,22 @@ export default {
iconUrl = (e.useState ? iconb : iconb_f);
} else if(e.childType==='2-2' || e.childType==='2-4'){
iconUrl = (e.useState ? iconc : iconc_f);
}
}
points.push({
type: 'event',
longitude: parseFloat(e.longitude),
latitude: parseFloat(e.latitude),
latitude: parseFloat(e.latitude),
// iconUrl: e.useState ? icon : icon_f,
iconUrl: iconUrl,
offset: [0,-48],
size: [42,100],
GGoffsetX: 0,
GGoffsetY: -5,
GGimgOffset:[0,0],
GGimgsize:[42,103],
GGstakeOffsetY:45,
stakeOffsetY:25,
otherInfo: {
ext: null,
name: e.deviceName,
@ -433,7 +445,7 @@ export default {
if (this.mapContainer === 'BMapContainer') {
const icon = require(`@screen/images/layerb/事件专题/${eventName}_active.svg`);
const center = [parseFloat(longitude), parseFloat(dimension)]
mapInfo.addPointByArr(
{
pointList: [
@ -442,6 +454,14 @@ export default {
longitude: center[0], //
latitude: center[1], //
iconUrl: icon, //
offset: [0,-48],
size: [42,100],
GGoffsetX: 0,
GGoffsetY: -5,
GGimgOffset:[0,0],
GGimgsize:[42,103],
GGstakeOffsetY:45,
stakeOffsetY:25,
otherInfo: {
name: '123'
}

Loading…
Cancel
Save