|
@@ -288,6 +288,7 @@ export const draw = (map, obj) => {
|
|
|
geometryFunction: obj.rectangle ? createBox() : null,
|
|
|
// geometryFunction: createRegularPolygon(6),
|
|
|
style: commonStyle(obj.featureType === 'Point' ? true : false),
|
|
|
+ stopClick: true
|
|
|
});
|
|
|
draw.set('showText', obj.featureType === 'Point' ? true : false)
|
|
|
draw.set(drawFlag[0], drawFlag[1])
|