jQuery('#' + options.get_directions_btn ).click( function(){
var start = jQuery('#' + options.directions_from).val();
var end = options.end_address; // This is the address for the listing/event
var request = {
origin: start,
destination: end,
travelMode: google.maps.TravelMode.DRIVING
};
jQuery('#' + options.get_directions_btn ).click( function(){
var start = jQuery('#' + options.directions_from).val();
var end = options.end_address; // This is the address for the listing/event
var request = {
origin: start,
destination: end,
travelMode: google.maps.TravelMode.DRIVING,
unitSystem: google.maps.UnitSystem.IMPERIAL
};
There are currently 1 users browsing this thread. (0 members and 1 guests)