Project-OSRM / osrm-frontend

Modular rewrite of the OSRM frontend using LRM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

front end white screen

rds11080 opened this issue · comments

hi, i follow the instruction and setup front end back end but i got white screen on front end(map white screen, search text white screen, direction text white screen but i can click on location)
the debug mode screen work
do i miss any library?

I do not know what you call the debug screen. Can you check the console of the browser key F12. Le mar. 22 nov. 2022, 22:38, rds11080 @.> a écrit :

hi, i follow the instruction and setup front end back end but i got white screen on front end(map white screen, search text white screen, direction text white screen but i can click on location) the debug mode screen work do i miss any library? — Reply to this email directly, view it on GitHub <#356>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANT5DRYHGCTTXDUXZZDQYTWJU4NNANCNFSM6AAAAAASII5Q64 . You are receiving this because you are subscribed to this thread.Message ID: @.
>

*debug screen is debug map
*i check F12 and cant find livereload.js (ip is wrong, how can i change ip, im using docker install)
Failed to load http://172.17.0.2:35729/livereload.js?snipver=1
when i CTRL+U to view source of file, it was
<script type="text/javascript" src="[//172.17.0.2:35729/livereload.js?snipver=1](http://172.17.0.2:35729/livereload.js?snipver=1)" async="" defer="">
i think it was missing "http" in the src

The same issue.

Error in console:
GET https://api.mapbox.com/v4/mapbox.streets/13/2344/3132@2x.png?access_token=pk.eyJ1IjoibXNsZWUiLCJhIjoiclpiTWV5SSJ9.P_h8r37vD8jpIH1A6i1VRg 410 (Gone)

I had the same issue. It looks like those mapbox files actually are gone. Choosing to use the openstreetmap.org or openstreetmap.de.org files (menu at the bottom-left) gives a visible map.

Mapbox deprecated the Maps API v4 (raster tile) endpoint years ago; at that point, they were no longer updating the tiles to reflect the latest OSM data. Looks like they finally got rid of it.

/ref Leaflet/Leaflet#7173