fix(offlinetiles): wrong extraction of tiles name
This commit is contained in:
@ -195,7 +195,7 @@ export class Protocol {
|
||||
},
|
||||
};
|
||||
}
|
||||
const re = new RegExp(/tiles:\/\/(.+)/);
|
||||
const re = new RegExp(/tiles:\/\/(.+)\/(\d+)\/(\d+)\/(\d+)/);
|
||||
const result = params.url.match(re);
|
||||
if (!result) {
|
||||
throw new Error("Invalid Tiles protocol URL");
|
||||
|
||||
Reference in New Issue
Block a user