question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't load map element

See original GitHub issue

I am running a fairly standard setup where the frontend is served by Caddy on https://[host]/frontend. I have not changed any config settings.

When I open the app, everything works as expected, except that the map is missing. The entire div.vue2leaflet-map element is just never added to the DOM.

I have tested this against the official docker.io/owntracks/frontend image, which does load the map. My setup loads the exact same resources as the official one, and I have no server errors, no console errors, all the information from the server is loaded correctly. In other words, as far as I can tell, the app is working perfectly fine.

Here’s a quick video of what the app looks like: frontend.webm

My setup is also running in a Docker container, and you can check out the configuration here: https://github.com/atjn/docker-easy-owntracks/blob/d8d06a7a89c6f3029809314760a565c3eccd3435/Dockerfile#L36

I see the same issue in both Firefox and Edge.

Do you have any idea what is going on here? Any help is much appreciated, thanks!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
atjncommented, Sep 26, 2022

I changed the basePath and the map is now loading correctly. Thank you very much!

0reactions
paclgcommented, Dec 15, 2022

Ahhh I lost some hours on this, 😦 but it’s ok now, thank you for your nice work 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Map view does not load in Elements Organizer - Adobe Support
Issue. Starting from November 29, 2018, Google Maps no longer supports delivery of certain data which impacts how the current Map view feature ......
Read more >
Troubleshooting a map that won't load - Simplemaps.com
The map won't load | Documentation · Open the map in Chrome · Click F12 to go to Developer Tools · Click on...
Read more >
Leaflet Map not fully loaded when i open inspect element it ...
As it is created on the fly, your map may not be aware of the size of its container. Try map.invalidateSize();.
Read more >
Can't see any pre loaded maps : r/wahoofitness - Reddit
Can't see any pre loaded maps. Hi! I've been having a lot of problems with the GPS of the elemnt bolt 2! U...
Read more >
Can't load maps on Elemnt Roam - Google Groups
First of all I deleted all my maps, rebooted the roam, and tried to reinstall the maps. Now when I go to "manage...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found