|
@@ -887,7 +887,8 @@ export default class ListenLayer {
|
|
|
const svg = dataService.getSVG(svgId);
|
|
|
for (let i = 0; i < svg.points.length; ++i) {
|
|
|
let distance = this.getDistance(position, svg.points[i]);
|
|
|
- if (!svgInfo.svgId && distance < Constant.minAdsorbPix / 5) {
|
|
|
+ // if (!svgInfo.svgId && distance < Constant.minAdsorbPix / 5) { //改大图例四个点的选择范围
|
|
|
+ if (!svgInfo.svgId && distance < Constant.minAdsorbPix / 2) {
|
|
|
svgInfo = {
|
|
|
svgId: svgId,
|
|
|
distance: distance,
|