Skip to content

Host vector tile without any server  #4

Description

@brunakov

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 get NS_ERROR_MALFORMED_URI: .
Should I define the tiles path to something else?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions