zhaobing 1 year ago
parent
commit
948d6e3954
  1. 6
      web/client/src/sections/quanju/containers/public/olMap.js

6
web/client/src/sections/quanju/containers/public/olMap.js

@ -47,7 +47,7 @@ const OlMap = (props) => {
// console.log(p)
})
olMapTool.map.on('singleclick', function (p) {
setOlMapOpenData([])
olMapTool.closeOverlay('clickOpen')
olMapTool.removeGeometryLayer('geometry0')
@ -70,8 +70,8 @@ const OlMap = (props) => {
// geometryType: 'Point',
},
],
style: { stroke: { width: 10, color: '#9933FF' } },
selectStyle: { stroke: { width: 5, color: '#9933FF' } },
style: { stroke: { width: 5, color: '#9933FF' } },
selectStyle: { stroke: { width: 8, color: '#9933FF' } },
layerName: 'geometry' + index++
});
const config = {

Loading…
Cancel
Save