Google Maps Directions List Jquery Mobile/HTML5 -


I have a start and end card stored on client devices with HTML5 local storage. To use Google Maps driving list (not a map .. Directions in text formats) The application is in Jazzery Mobile.

  & lt; Div data-role = "content" & gt; & Lt; Div data-role = "content" id = "list" & gt; & Lt; Ul data-roll = "listview" data-inset = "true" data-filter = "true" id = "myList" & gt;   

Can I add my list of inventory to id myList?

  Function Pass Direction (geo) {var directionsService = new google.maps.DirectionsService (); Var Directions = New google.maps.DirectionsRenderer (); DirectionsDisplay.setPanel (document.getElementById ("MyList")); Var storedlati = localStorage.getItem ("text1"); Var storedlongi = localStorage.getItem ("text"); Var destilati = localStorage.getItem ("text2"); Var destilongi = localStorage.getItem ("text3"); Var Request = {Origin: google.maps.LatLng (archived, archived), destination: google.maps.LatLng (destilati, destilongi), travel mode: google.maps.TravelMode.DRIVING}; DirectionsService.route (Request, Function (Results, Status) {If (Status == google.maps.DirectionsStatus.OK) {directionsDisplay.setDirections (Results);}}); }  " 

In that case, set the directions panel bus on the guidelines, map no. ; And do not create maps. Like this

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -