Improve the usability for incorporating multiple map tile services#1
Improve the usability for incorporating multiple map tile services#1imysl0 wants to merge 2 commits intodeltachat:mainfrom
Conversation
imysl0
commented
Jun 12, 2024
- Add the mapServices.js file to facilitate the easier addition of map providers.
- Include a dropdown menu to conveniently select different tile services.

…ap providers. 2. Include a dropdown menu to conveniently select different tile services.
Simon-Laux
left a comment
There was a problem hiding this comment.
Code LGTM, didn't test yet
|
maybe save last selected tile provider in Also we could whitelist all those providers as a temporary fix in deltachat desktop: But for a more permanent solution I'd prefer if those requests go over delta chat core (http request api), so that they respect proxy settings for that account. |
Hi Simon: |
|
When testing this PR I find that at least the first 5 of the chinese tile server show no data and the last one shows data only for a very low zoom level. What's the reason? Are the tileserver maybe blocked for IPs out of china? |
It's working normally on my end. It seems that access restrictions have been imposed somewhere. Can you directly access https://ditu.amap.com/? This is Amap's online website. |
|
Yes I can access it, but it requires some registration to access the map. So that's probably the problem |
|
Maybe depending from where I call the website? |
|
Ok, I didn't understand the chinese text, it was just an overlay I could click away |
|
So when testing this PR again with extended hostRules it turned out it's a question of zoom level. If I stay on a low zoom level I can see the map, but not when I zoom in to see details Edit: that seems to happen outside of china. In China mainland I can zoom into a much higher level |