Skip to content

Error: “Unable to resolve host ‘api.maptiler.com’” when Loading Map Style on Build #2

@adduserwyw

Description

@adduserwyw

After building and running the app from this repo, I encountered the following error:

Mapbox error {losig.myexpomap}[Setup]: loading style failed: Unable to resolve host "api.maptiler.com": No address associated with hostname {"level": "error", "message": "{losig.myexpomap}[Setup]: loading style failed: Unable to resolve host \"api.maptiler.com\": No address associated with hostname", "tag": "Mbgl"}

As a result, the entire screen is black, and no map is displayed.

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