esm7 / obsidian-map-view

Interactive map view for Obsidian.md
MIT License
596 stars 30 forks source link

Error with Stadia maps sources #278

Open Henrydice opened 22 hours ago

Henrydice commented 22 hours ago

Hi,

First of all, many thanks for this amazing add-on !

I'm trying to use a source map from stadiamaps that I've found here but the tiles url doesn't seem to work.

First I had a 401 error : Invalid Authentication like in this screenshot.

Screenshot_2024-09-24_at_01 24 35@2x

Then, I created an API key on the website and added to the url following the rules here, but the map wouldn't load and I would get this error message : "Map view: unable to load map tiles. If your Internet access is ok, try switching the map source using the View controls."

Any idea how to solve this ?

esm7 commented 13 hours ago

Can you share how you set up the map source in Map View (you can replace the API key with ABCD or similar)?

Henrydice commented 13 hours ago

Yes, sure. Here it is : https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}.png&api_key=MY_KEY

esm7 commented 12 hours ago

It seems like everything is set properly. Perhaps there are more clues in the Development Console (Ctrl+Shift+I or Cmd+Shift+I)?

Henrydice commented 12 hours ago

Sorry for the noob question but, are you talking about the Development Console in the browser or Obsidian ?

esm7 commented 12 hours ago

In Obsidian. You can open it with Ctrl/Cmd+Shift+I and it might contain a more useful error.

Henrydice commented 6 hours ago

Ok, so here is a screen with the console log.

Screenshot_2024-09-24_at_17 44 19@2x