1$.when(add_js('//maps.google.com/maps/api/js?key=AIzaSyBhu5ibJC_Df3aYWZW_ryElSDtrQbvg9HA&sensor=false')).done(function() { 2 var map; 3 var marker; 4 5 function initialize() { 6 var myOptions = { 7 zoom: 14, 8 center: new google.maps.LatLng($('#map_canvas').attr('data-latitude'),$('#map_canvas').attr('data-longitude')), 9 mapTypeId: google.maps.MapTypeId.ROADMAP 10 } 11 map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); 12 13 marker = new google.maps.Marker({ 14 position: new google.maps.LatLng($('#map_canvas').attr('data-latitude'),$('#map_canvas').attr('data-longitude')), 15 map: map 16 }); 17 } 18 19 initialize(); 20 21 $("#go").click(function() { 22 var start = document.getElementById("start").value; 23 var end = document.getElementById("end").value; 24 25 window.open('https://www.google.com/maps/dir/'+encodeURIComponent(start)+'/'+encodeURIComponent(end),'_blank'); 26 return false; 27 }); 28 29 $("#start").keydown(function(e) { 30 if(e.keyCode==13) { 31 $("#go").click(); 32 } 33 }); 34});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.