* mouseLoc * Gets the current [lon,lat] location of the pointer * (or center of map if there is no readily available pointer coordinate) * @return Array [lon,lat] location of pointer (or center of the map)
()
| 513 | * @return Array [lon,lat] location of pointer (or center of the map) |
| 514 | */ |
| 515 | mouseLoc() { |
| 516 | return this.context.viewport.unproject(this.mouse()); |
| 517 | } |
| 518 | |
| 519 | |
| 520 | /** |
no test coverage detected