dawarich icon indicating copy to clipboard operation
dawarich copied to clipboard

Stadia map tiles require authentication

Open sunstep opened this issue 1 year ago • 5 comments

Describe the bug The newly added map tiles of stadia don't work, and require an api key for it to work. On Dawarich version 0.14.0

image

image

sunstep avatar Sep 15 '24 20:09 sunstep

Yep, the same issue.

vinovod avatar Sep 16 '24 14:09 vinovod

I created a free stadiamaps account, created a property with my domain, and then it worked.

jpbaril avatar Sep 27 '24 23:09 jpbaril

@jpbaril can you share how you did that? I'm currently more inclined to disable map layers from Stadia for now

Freika avatar Sep 28 '24 10:09 Freika

  1. https://client.stadiamaps.com/signup/
  2. https://client.stadiamaps.com/dashboard/#/property/create
  3. "Add domain". (I did not use the "API key" option)
  4. Enter domain used for DaWarIch. I entered my top-level domain name and checked "Allow All Subdomains".

Maybe I'm wrong and it's just chance, but after doing that Stadiamaps worked. As their site mention: "Use domain authentication for maps on the web. Note that development from 127.0.0.1 or localhost does not require setting up a domain; these requests will "just work." So, I understand that it's only necessary when using a domain instead of localhost. And as far as I can tell, it seems to work.

I suppose you could also add a parameter in DaWarIch to input a StadiaMaps API key.

jpbaril avatar Sep 28 '24 18:09 jpbaril

@jpbaril thanks! I removed Stadia layers today in 0.14.5, though, so you might need to change yours to something else... But I see how this causes an inconvenience for other people who might have done the same, so I hope I'll figure something out.

Freika avatar Sep 28 '24 20:09 Freika