(zoom)
| 550 | } |
| 551 | |
| 552 | setZoom(zoom) { |
| 553 | if (this.map) { |
| 554 | this.mapOptions.zoom = zoom; |
| 555 | if (zoom !== +this.map.getZoom().toFixed(2)) { |
| 556 | (zoom || zoom === 0) && this.map.setZoom(zoom, { from: 'setZoom' }); |
| 557 | } |
| 558 | } |
| 559 | } |
| 560 | |
| 561 | setServerUrl(serverUrl) { |
| 562 | this._setServer(serverUrl); |
no test coverage detected