Skip to content

Is it possible to use a different set of vector tiles (or limit the memory for creating the vector tiles)? #587

Closed Answered by felixguendling
5balls asked this question in Q&A
Discussion options

You must be logged in to vote

If you want to use the MOTIS UI, you can change the tiles path here:

if (url.startsWith('/sprite')) {
return { url: `${window.location.origin}${url}` };
}
if (url.startsWith('/')) {
return { url: `${client.getConfig().baseUrl}/tiles${url}` };
}

It should be easy to compile via npm i -f + npm run build. This creates a build folder you can point MOTIS server.web_folder to.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@felixguendling
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by 5balls
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants