bug
This commit is contained in:
		| @@ -215,8 +215,8 @@ | |||||||
|               bounds.push(this.fitBounds(path.points.map(e => new TMap.LatLng(e[1], e[0])))) |               bounds.push(this.fitBounds(path.points.map(e => new TMap.LatLng(e[1], e[0])))) | ||||||
|  |  | ||||||
|               polygon.on('click', e => { |               polygon.on('click', e => { | ||||||
|                 const id = e.target.id |                 // const id = e.target.id | ||||||
|                 this.getGridInfo(id) |                 // this.getGridInfo(id) | ||||||
|               }) |               }) | ||||||
|  |  | ||||||
|               const points = path.points.map(e => new TMap.LatLng(e[1], e[0])) |               const points = path.points.map(e => new TMap.LatLng(e[1], e[0])) | ||||||
| @@ -246,7 +246,7 @@ | |||||||
|               }) |               }) | ||||||
|               this.labels.push(label) |               this.labels.push(label) | ||||||
|               label.on('click', e => { |               label.on('click', e => { | ||||||
|                 this.getGridInfo(e.target.id.split('~')[1]) |                 // this.getGridInfo(e.target.id.split('~')[1]) | ||||||
|               }); |               }); | ||||||
|             }) |             }) | ||||||
|             bounds = bounds.reduce((a, b) => { |             bounds = bounds.reduce((a, b) => { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user