forked from MapComplete/MapComplete
Better error message if invalid theme
This commit is contained in:
parent
6031e00e99
commit
f713d5b6d8
3 changed files with 13 additions and 15 deletions
|
@ -41,7 +41,6 @@ async function getAvailableLayers(): Promise<Set<string>> {
|
|||
}
|
||||
|
||||
async function main() {
|
||||
// @ts-ignore
|
||||
try {
|
||||
if (!webgl_support()) {
|
||||
throw "WebGL is not supported or not enabled. This is essential for MapComplete to function, please enable this."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue