(mapBounds)
| 823 | addedCallback && addedCallback(); |
| 824 | } |
| 825 | _getSourceBounds(mapBounds) { |
| 826 | if(!mapBounds) { |
| 827 | return; |
| 828 | } |
| 829 | const lb = this._unproject([mapBounds[0], mapBounds[1]]); |
| 830 | const rt = this._unproject([mapBounds[2], mapBounds[3]]); |
| 831 | return [...lb, ...rt]; |
| 832 | } |
| 833 | _isSupportZXYTileLayer({ resolutions, tileSize, origin }) { |
| 834 | const isOldWebMecartor = origin === undefined && resolutions === undefined; |
| 835 | if (isOldWebMecartor) { |
no test coverage detected