()
| 159 | return !this._parentEl._layerRegistry.has(this.position); |
| 160 | } |
| 161 | getPrevious() { |
| 162 | // Check if this is the first element of a sequence |
| 163 | if (this.isFirst()) { |
| 164 | return null; // No previous element available |
| 165 | } |
| 166 | |
| 167 | // Since we know it's not the first, we can safely return the previous element sibling |
| 168 | return this.previousElementSibling; |
| 169 | } |
| 170 | zoomTo() { |
| 171 | let extent = this.extent; |
| 172 | let map = this.getMapEl()._map, |