File tree 1 file changed +2
-8
lines changed
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -74,13 +74,7 @@ Click clustered features for expand
74
74
</ol-interaction-modify >
75
75
76
76
<ol-interaction-draw v-if =" drawEnable" :type =" drawType" @drawend =" drawend" @drawstart =" drawstart" >
77
- <ol-style >
78
- <ol-style-stroke color =" yellow" :width =" 5" ></ol-style-stroke >
79
- <ol-style-fill color =" rgba(0,0,0,0.1)" ></ol-style-fill >
80
- <ol-style-circle :radius =" 7" >
81
- <ol-style-fill color =" blue" ></ol-style-fill >
82
- </ol-style-circle >
83
- </ol-style >
77
+
84
78
</ol-interaction-draw >
85
79
86
80
<ol-interaction-snap v-if =" drawEnable" />
@@ -166,7 +160,7 @@ export default {
166
160
const vectorsource = ref (null )
167
161
const view = ref (null );
168
162
169
- const drawEnable = ref (true )
163
+ const drawEnable = ref (false )
170
164
const drawType = ref (" Point" )
171
165
172
166
contextMenuItems .value = [{
You can’t perform that action at this time.
0 commit comments