On my virtual machine Ubuntu installation I could at first display the map by calling ./graphhopper.sh as described here right at the beginning of “Try out”. So far so good.
Doing the exact same steps on two more native Ubuntu installations did not work as expected, as no map-window was shown. It’s the same problem as here, but since my installation was pristine, it seems quite weird.
As I don’t need to see the map anyway, it did not bother me so much. However, I ran into some strange problems with my map and would like to inspect it - for which I need the map-window. And now, it does not even show in the installation where it originally worked. Even if I install a clone of graphhopper parallel to it, that new one does not produce the map-window.
I have
/web/target/classes/assets/js/main.js
/web/src/main/resources/assets/js/main.js
but no other “main.js”.
Firefox reports two warnings:
- This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”.
- jQuery.Deferred exception: l is undefined [85]</</</<@http://localhost:8989/maps/js/main.js?v=0.11.2:255:6256
l@http://localhost:8989/maps/js/main.js?v=0.11.2:104:29892
a/</c<@http://localhost:8989/maps/js/main.js?v=0.11.2:104:30194
undefined
Unfortunately I’m not deep enough into the matter to be able to work out the solution on my own. Many thanks in advance!