1/* // This example displays an address form, using the autocomplete feature 2 // of the Google Places API to help users fill in the information. 3 4 var autocomplete1, autocomplete2; 5 6 function initialize() { 7 // Create the autocomplete object, restricting the search 8 // to geographical location types. 9 autocomplete1 = new google.maps.places.Autocomplete( 10 /** @type {HTMLInputElement} * /(document.getElementById('saddr')), 11 {types: ['geocode'], 12 componentRestrictions: {country: 'ro'} 13 }); 14 autocomplete2 = new google.maps.places.Autocomplete( 15 /** @type {HTMLInputElement} * /(document.getElementById('daddr')), 16 {types: ['geocode'], 17 componentRestrictions: {country: 'ro'}}); 18 } 19 20 // [START region_geolocation] 21 // Bias the autocomplete object to the user's geographical location, 22 // as supplied by the browser's 'navigator.geolocation' object. 23 function geolocate(el) { 24 el.value=""; 25 if (navigator.geolocation) { 26 navigator.geolocation.getCurrentPosition(function (position) { 27 var geolocation = new google.maps.LatLng( 28 position.coords.latitude, position.coords.longitude); 29 var circle = new google.maps.Circle({ 30 center: geolocation, 31 radius: position.coords.accuracy 32 }); 33 autocomplete1.setBounds(circle.getBounds()); 34 autocomplete2.setBounds(circle.getBounds()); 35 }); 36 } 37 } 38 // [END region_geolocation] 39*/ 40 41 function orar_linia(linia, serviciu, capat1, capat2) 42 { 43 jQuery(function () { 44 jQuery('#CSVTable'+serviciu).CSVToTable('/orare/csv/orar_'+linia+'_'+serviciu.toLowerCase()+'.csv', {startLine: 5, headers: [capat1, capat2], dataClass: 'data'+serviciu, loadingImage: '//ctpcj.ro/images/loading.gif', tableClass:'table-striped tztable cuscroll'}); 45 46 /*$('#CSVTable'+serviciu).CSVToTable('/orare/csv/orar_'+linia+'_'+serviciu.toLowerCase()+'.csv', {startLine: 5, headers: [capat1, capat2], dataClass: 'data'+serviciu, servClass: 'serviciu'+serviciu, loadingImage: 'images/loading.gif', tableClass:'table-striped tztable cuscroll'});*/ 47 }); 48 } 49 //document.querySelector('a[href="#troleibuze"]').style.backgroundColor = "red"; 50 //document.querySelector("#filter").style.backgroundColor = "red"; 51
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.