let r360 = window.r360;
var travelMode = 'bike';
var latlon = [41.5259, 44.685];
console.log(r360) // does output an object
// initialise the base map
r360.basemap({ style: 'basic', apikey: 'MYSECRETKEY' }).addTo(map);
ps. this is react app.
pps. running npm install --s route360takes ages too (doesn't complete).
EDIT1: installing via npm seems to have fixed the issue.
I am getting error
Any idea why?
Here is how I import it
and here is some code
ps. this is react app.
pps. running
npm install --s route360
takes ages too (doesn't complete).EDIT1: installing via npm seems to have fixed the issue.