'; $output .= 'window.onload=function(){initialize(' . $lat . ', ' . $lng . ');}'; $output .= ''; echo $output; } function abdistance_calculator() { $lat = get_option('latitude'); $lng = get_option('longitude'); map_onload($lat, $lng); $result = ""; $result .= '

From: To: Travel Time: Day Night
';?>

AB Google Map Travel Options


Options Saved...

'; } function ab_print_options_form() { $default_latitude = get_option('latitude'); $default_longitude = get_option('longitude'); $default_language = get_option('language'); $default_map_width = get_option('map_width'); $default_map_height = get_option('map_height'); $default_zoom = get_option('zoom'); $default_less_five_fare = get_option('less_five_fare'); $default_more_five_fare = get_option('more_five_fare'); $default_day_less_five_fare = get_option('day_less_five_fare'); $default_day_more_five_fare = get_option('day_more_five_fare'); $default_curr_format = get_option('curr_format'); ?>
To configure the AB-MAP Plugin update the following values
Default latitudes for the google map
Default longitudes for the google map
Default language for directions
Default google map width
Default google map height
Default google map zoom

Day Time Charge: To configure the travel charges update the following values
Default charge for less than 5kms (Day time)
Default charge for more than 5kms (Day time)
Night Time Charge: To configure the travel charges update the following values
Add [AB-MAP] shortcode to the post/page.
Default charge for less than 5kms (Night time)
Default charge for more than 5kms (Night time)
Default currency format