()
| 205 | this.renderer.clearData(); |
| 206 | } |
| 207 | _bindEvent() { |
| 208 | var map = this.map; |
| 209 | map.on('pitchstart', this.pitchStartEvent); |
| 210 | map.on('pitchend', this.pitchEndEvent); |
| 211 | if (this.options.methods) { |
| 212 | if (this.options.methods.click) { |
| 213 | map.on('click', this.renderer.clickEvent); |
| 214 | } |
| 215 | if (this.options.methods.mousemove) { |
| 216 | map.on('mousemove', this.renderer.mousemoveEvent); |
| 217 | } |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | _unbindEvent() { |
| 222 | let map = this.map; |