()
| 678 | } |
| 679 | } |
| 680 | _toggleStatic() { |
| 681 | const isStatic = this.hasAttribute('static'); |
| 682 | if (this._map) { |
| 683 | if (isStatic) { |
| 684 | this._map.dragging.disable(); |
| 685 | this._map.touchZoom.disable(); |
| 686 | this._map.doubleClickZoom.disable(); |
| 687 | this._map.scrollWheelZoom.disable(); |
| 688 | this._map.boxZoom.disable(); |
| 689 | this._map.keyboard.disable(); |
| 690 | this._zoomControl.disable(); |
| 691 | } else { |
| 692 | this._map.dragging.enable(); |
| 693 | this._map.touchZoom.enable(); |
| 694 | this._map.doubleClickZoom.enable(); |
| 695 | this._map.scrollWheelZoom.enable(); |
| 696 | this._map.boxZoom.enable(); |
| 697 | this._map.keyboard.enable(); |
| 698 | this._zoomControl.enable(); |
| 699 | } |
| 700 | } |
| 701 | } |
| 702 | |
| 703 | _dropHandler(event) { |
| 704 | event.preventDefault(); |
no outgoing calls
no test coverage detected