'; $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:
';?>

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_reg_less_five_fare = get_option('reg_less_five_fare'); $default_reg_more_five_fare = get_option('reg_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

Charge: Registered members. To configure the travel charges update the following values
Default charge for less than 5kms
Default charge for more than 5kms
Charge: Non-registered members. To configure the travel charges update the following values
Add [AB-MAP] shortcode to the post/page.
Default charge for less than 5kms
Default charge for more than 5kms
Default currency format