Geo map not showing correctly

I have tried to search the community but can’t find anyone with a similar problem. After upgrading to 26.8 (for some reason, I can’t get release channel to work so I get the latest dev version) the map on the device page does not show correctly. It shows a strip of a map, in approximately the right area but it doesn’t show where the device is and the buttons for hiding/showing the map are not there. The other screenshot shows the correct map, in a different setup where it still works.This means I can’t set the coordinates for new devices. If I show the full geo map, I see all the devices that has coordinates set.

This was fixed yesterday

Now the buttons are there but no map is shown. I get a 404 Not found for the following: https://server/js/leaflet.markercluster.js,js/leaflet.awesome-markers.min.js?_=1786625312270

I changed the line that says:

dependencies.push(‘js/leaflet.markercluster.js’, ‘js/leaflet.awesome-markers.min.js’);

to

dependencies.push(‘js/leaflet.markercluster.js’);

in resources/views/components/geo-map.blade.php and the map is shown. Not sure if that’s what’s wrong but it fixed my problem temporary though.

Ah, different fix today:

Thanks, but there’s another issue too now and that is if there’s no coordinates for a location, the map won’t show so it’s not possible to set the coordinates other than entering them to the database table manually. The never ending story it seems :wink:

Just some code that got re-written poorly. Thanks for reporting all the little quirks. It helps get it in shape for the next monthly release :slight_smile: