Geolocation Tracking App
Could you clarify what are the exact problems with loading? Are there any JS errors in console? Also what steps to reproduce problem with "map ride" button?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Could you clarify what are the exact problems with loading? Are there any JS errors in console? Also what steps to reproduce problem with "map ride" button?
Hello! Go to Map-Load-Run JavaScript, there is the line codedirectionDisplay;/code - delete it.
Hello! In Map-Load-Run JavaScript
Check if you deleted line:
codedirectionDisplay;/code
Should be:
codevar bikeLayer, directionsDisplay, directionsService, directionsDisplay;
function initialize() {
bikeLayer = new google.maps.BicyclingLayer('directionsMap');
bikeLayer.setMap(Tiggzi('directionsMap').gmap);
directionsService = new google.maps.DirectionsService();
directionsDisplay = new google.maps.DirectionsRenderer();
}/code
Hi Joe,
JavaScript code that declares variables:
codevar bikeLayer, directionsDisplay, directionsService;/code and function codeinitialize()/codeis duplicated.
JS is in JavaScript asset and then in Run JavaScript action on Map page. You should leave only one of them. For example, you can delete Run JavaScript action.
Hi Joe,
JavaScript code that declares variables:
codevar bikeLayer, directionsDisplay, directionsService;/code and function codeinitialize()/codeis duplicated.
JS is in JavaScript asset and then in Run JavaScript action on Map page. You should leave only one of them. For example, you can delete Run JavaScript action.
Ohh I see. Well were would be best to place it? Does it really matter?