openstreetmap/iD
Add a parameter to support custom {tileSize} of WMTS backgrounds
Ouverte
#8 688 ouverte le 13 sept. 2021
help wanted
Métriques du dépôt
- Stars
- (3 818 étoiles)
- Métriques de merge PR
- (Merge moyen 29j 14h) (82 PRs mergées en 30 j)
Description
I see the current logic is 256 by default
Of course for some exceptions there are few hacks:
Wouldn't it be better to add a parameter for custom backgrounds to define the tileSize by themselves? If iD supports this, ELI will be able to add more WMTS sources.
Currently only JOSM can handle 512x512 automatically because it reads WMTSCapabilities directly.
A WMTS service cannot be opened in iD 2.20.1: https://geodata.md.gov/imap/rest/services/Imagery/MD_SixInchImagery/MapServer/WMTS/1.0.0/WMTSCapabilities.xml