Closed johnd0e closed 5 years ago
@brunob
I've finished all planning changes here. Please check and merge, if you are interested in L.BingLayer. If not - just tell me, and I will setup dedicated repo.
Thx @johnd0e 'im totally intersetd in Bing layer, i'll check this asap :)
About dedicated repo, since many years i'm thinking about put every single script here in a dedicated repo, maybe it's the time to do it for Yandex first. We could do that in a common organization. Maybe @leaflet-extras could be the right place.
maybe it's the time to do it for Yandex first.
Ok, I will notify you when I finish with Yandex.
Maybe @leaflet-extras could be the right place.
I like this idea.
'Aerial* ' and deprecated imagery sets in fact do not have tiles for high zoom levels.
And there is no reliable way to get real maxZoom value via API (we always get 21
).
So I've just implemented heuristic one (will commit after testing).
Ready for review
Could this be used for this point ?
Unfortunately docs are wrong here, and we never get error with zoom in range 1..21.
'k, let's merge it :)
One more note.
L.BingLayer
itself, as everyone may implement it in own code (using provided applyMaxNativeZoom
).Nice, thx for that work @johnd0e !
Options:
culture
option for updated imagery setsminZoom
/maxZoom
options, addapplyMaxNativeZoom
method/optionstyle
optiondetectRetina
optionConstructor:
key
can be included in optionsMisc updates and refactoring
This change is![Reviewable](https://reviewable.io/review_button.svg)