YongGoose opened a new issue, #943:
URL: https://github.com/apache/incubator-baremaps/issues/943

   <!-- 
   Briefly describe the issue and expected behavior.  Keep it short but clear 
to help identify the problem quickly. 
   -->
   ## Description
   The map is not displaying on `localhost:9000`. 
   However, I can't find any issues in the Chrome developer tools or the 
terminal.
   <!-- 
   Specify the environment details where the issue occurred. Helps to determine 
if the bug is environment-specific. 
   -->
   ## Environment
   - **OS:** macOS 15.1.1
   - **Browser/Version:** chrome (Incognito mode)
   - **Version:** 0.8.2-SNAPSHOT
   
   <!-- 
   List the steps to reproduce the issue. This helps others replicate the bug 
consistently. 
   -->
   ## 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.
   
   <!-- 
   Describe the difference between the expected and actual outcomes. This helps 
clarify the impact of the bug. 
   -->
   ## Expected vs Actual Behavior
   - **Expected:** map should be displayed.
   - **Actual:** map is not displaying.
   
   <!-- 
   (Optional) Add supporting materials like screenshots or logs to provide more 
context about the issue. 
   -->
   ## Attachments (Optional)
   ### Chrome developer tools/console
   
   
![Image](https://github.com/user-attachments/assets/e2a1d18c-e966-493a-a220-dd3e1b5d024e)
   
   ### Chrome developer tools/networks
   
   > Upon checking the developer tools, it seems that the vector tiles are 
loading correctly.
   
   
![Image](https://github.com/user-attachments/assets/a688bdd8-87e4-4e5c-8ffb-8c7cb368e346)
    
   ---
   
   ## 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](https://github.com/user-attachments/assets/c2d50e26-e07b-4ad8-b7b4-0e6d758a0161)
   
   **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
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to