| | |
| | | type: 'VectorLayer' |
| | | }) |
| | | getSecurityCarList(securityId).then(res => { |
| | | console.log(res.data.data, 3333) |
| | | res.data.data.forEach(item => { |
| | | if (item.type == 1) { |
| | | console.log(item, 124) |
| | | let positionNewArr = this.convertPolylineOrPolygonPositionDate(item.position, item.type) |
| | | this.$EventBus.$emit('layerPolylineAdd', { |
| | | layerName: 'newCarDrawLayers', |
| | |
| | | drawArrow (type) { |
| | | arrowPlot && arrowPlot.draw(type, overlay => { |
| | | if (overlay) { |
| | | console.log(overlay._positions, 123) |
| | | drawArrowLayers.addOverlay(overlay) |
| | | plot.edit(overlay) |
| | | } |