(e)
| 186 | } |
| 187 | |
| 188 | onClick (e) { |
| 189 | const btn = $(e.target).closest('.treema-map-button') |
| 190 | if (btn.length) { return this.openMap() } else { return super.onClick(...arguments) } |
| 191 | } |
| 192 | |
| 193 | openMap () { |
| 194 | const bounds = this.getData() || [{ x: 0, y: 0 }, { x: 100, y: 80 }] |