osrm-frontend icon indicating copy to clipboard operation
osrm-frontend copied to clipboard

front end white screen

Open rds11080 opened this issue 3 years ago • 8 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?

rds11080 avatar Nov 22 '22 21:11 rds11080

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 https://github.com/Project-OSRM/osrm-frontend/issues/356, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANT5DRYHGCTTXDUXZZDQYTWJU4NNANCNFSM6AAAAAASII5Q64 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

frodrigo avatar Nov 22 '22 23:11 frodrigo

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

rds11080 avatar Nov 23 '22 14:11 rds11080

The same issue.

Error in console: GET https://api.mapbox.com/v4/mapbox.streets/13/2344/[email protected]?access_token=pk.eyJ1IjoibXNsZWUiLCJhIjoiclpiTWV5SSJ9.P_h8r37vD8jpIH1A6i1VRg 410 (Gone)

rooton avatar Dec 27 '22 16:12 rooton

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.

JohnAnthony avatar Jun 14 '23 12:06 JohnAnthony

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

1ec5 avatar Jun 14 '23 22:06 1ec5