Skip to content

[BUG] The map is not displaying #943

@YongGoose

Description

@YongGoose

Description

The map is not displaying on localhost:9000.
However, I can't find any issues in the Chrome developer tools or the terminal.

Environment

  • OS: macOS 15.1.1
  • Browser/Version: chrome (Incognito mode)
  • Version: 0.8.2-SNAPSHOT

Steps to Reproduce

  1. Go to root directory of basemap
  2. baremaps map serve --tileset tileset.js --style style.js
  3. Access localhost:9000 in Chrome's Incognite mode.

Expected vs Actual Behavior

  • Expected: map should be displayed.
  • Actual: map is not displaying.

Attachments (Optional)

Chrome developer tools/console

Image

Chrome developer tools/networks

Upon checking the developer tools, it seems that the vector tiles are loading correctly.

Image


Additional issue (lower priority than the one mentioned above).

Additionally, it seems that a CSP issue occurs when running with the command below.

Even after setting connect-src, the issue remains unresolved.

baremaps map dev --tileset tileset.js --style style.js

Image

However, it works fine with the command below. And the vector tiles are also loading correctly. 🤔

baremaps map serve --tileset tileset.js --style style.js

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