-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Host vector tile without any server #4
Comments
has a comment about your server settings
|
@roblabs Works with simpleHTTPServer.py . Thank you ! |
how does someone host their own pbf files generated from mbtiles files? [mb-util *.mbtiles] => generates a folder "countries/" withe a metadata.json does tilejson in the root need to match somehow or some fields in metadata.json? |
I'm also finding the solution. Could somebody share us a example code kindly? |
Here you re mentioning that you can host your vector tiles from a local directory.
In your example you re using
"tiles": [location.origin+location.pathname+"countries/{z}/{x}/{y}.pbf"]
, however when I run your index.html file I getNS_ERROR_MALFORMED_URI:
.Should I define the tiles path to something else?
The text was updated successfully, but these errors were encountered: