1 2function wpfh_getLocationCoordinate(address) { 3 4 var position = {}; 5 jQuery.ajax({ 6 url : 'http://maps.google.com/maps/api/geocode/json', 7 type : 'GET', 8 data : { 9 address : address, 10 sensor : false 11 }, 12 async : false, 13 success : function(result) { 14 15 try { 16 position.lat = result.results[0].geometry.location.lat; 17 position.lng = result.results[0].geometry.location.lng; 18 } catch(err) { 19 position = null; 20 } 21 22 } 23 }); 24 return position; 25} 26 27
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.