Replies: 3 comments
-
|
If you're not partnered with OSM US, I would suggest setting up your own tile server using the frequently-updating OSM US planet file. This is very very low cost, possibly even free, if you stay below the AWS free tier. For example, the first 100Gb per month of egrees bandwidth is free. The steps for setting this up can be found here. |
Beta Was this translation helpful? Give feedback.
-
|
I see indeed that the Americana style does not work, it only works with CORS on local domains. Sorry for the confusion, I will remove the Americana reference and provide a reference to Stadia Maps (requires API key but has a free tier). In #433. Hosting a base map might indeed also be feasible, I will look into that. |
Beta Was this translation helpful? Give feedback.
-
|
Another option would be the OSMF’s vector tiles. There are more details in the tile usage policy. Unfortunately, the OSM.org-hosted style isn’t directly reusable because it uses relative paths for all its resources. You’d have to use runtime styling to patch up the paths, as in openstreetmap/openstreetmap-website#6137. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The “Map configuration” dialog suggests OSM Americana’s raw stylesheet as a vector tile URL, but it doesn’t load because this stylesheet depends on the OSMUS tile service. This tile server’s CORS settings allow any github.io subdomain for prototyping purposes, but other domains are disallowed by default to prevent freeriding by commercial entities. I posted about this issue in OSMUS Slack where the OSMUS staff will see it. Hopefully Americana will be a viable option for this project.
Beta Was this translation helpful? Give feedback.
All reactions