Changeset 1670577
- Timestamp:
- 06/04/2017 06:28:21 PM (9 years ago)
- Location:
- ab-google-map-travel
- Files:
-
- 9 added
- 4 edited
-
assets/banner-772x250.jpg (modified) (previous)
-
tags/4.5 (added)
-
tags/4.5/ab-google-map-travel.php (added)
-
tags/4.5/css (added)
-
tags/4.5/css/styles.css (added)
-
tags/4.5/images (added)
-
tags/4.5/images/icon.png (added)
-
tags/4.5/js (added)
-
tags/4.5/js/ab-get-distance.js (added)
-
tags/4.5/readme.txt (added)
-
trunk/ab-google-map-travel.php (modified) (4 diffs)
-
trunk/js/ab-get-distance.js (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ab-google-map-travel/trunk/ab-google-map-travel.php
r1356420 r1670577 3 3 Plugin Name: AB Google Map Travel (AB-MAP) 4 4 Plugin URI: http://wp.aboobacker.com 5 Version: 4. 15 Version: 4.5 6 6 Author: Aboobacker P Ummer 7 7 Author URI: http://aboobacker.com … … 11 11 global $wp_version; 12 12 // Wordppress Version Check 13 if (version_compare($wp_version, ' 3.0', '<')) {13 if (version_compare($wp_version, '4.0', '<')) { 14 14 exit($exit_msg . " Please upgrade your wordpress."); 15 15 } … … 34 34 function abinclude_files($lang) { 35 35 wp_enqueue_style('abdistance_calc_css', plugins_url('/css/styles.css', __FILE__)); 36 wp_enqueue_style('google_map_css', 'http://code.google.com/apis/maps/documentation/javascript/examples/default.css'); 37 wp_enqueue_script('google_map_js', 'http://maps.google.com/maps/api/js?sensor=false&language=' . get_option('language')); 36 wp_enqueue_script('google_map_js', 'https://maps.google.com/maps/api/js?key=AIzaSyCSX5ZH0dnGrOez2Q42j0XewKhHYayXEdE&libraries=places&sensor=false&language=' . get_option('language')); 38 37 wp_enqueue_script('abdistance_calc_js', plugins_url('/js/ab-get-distance.js', __FILE__)); 39 38 } … … 65 64 <table class="abgdc-table"> 66 65 <tr> 67 <td>From: </td><td><input type="text" name="place_from" class="txt" /></td>68 <td>To: </td><td><input type="text" name="place_to" class="txt" /></td>66 <td>From: </td><td><input type="text" name="place_from" id="from-input" class="txt" /></td> 67 <td>To: </td><td><input type="text" name="place_to" id="to-input" class="txt" /></td> 69 68 <td>Travel Time: 70 69 <input type="radio" id="day_time" name="travel_time" value="day" checked="checked" /> Day -
ab-google-map-travel/trunk/js/ab-get-distance.js
r1111735 r1670577 17 17 map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); 18 18 directionsDisplay.setMap(map); 19 new google.maps.places.Autocomplete(document.getElementById('from-input')); 20 new google.maps.places.Autocomplete(document.getElementById('to-input')); 19 21 } 20 22 function calcRoute(from,to){ -
ab-google-map-travel/trunk/readme.txt
r1356428 r1670577 4 4 Tags: Google Maps, Distance Calculator, Google Maps, Calculate Distance, Driving Directions, Google Travel, AB Google Map Travel, Abooze Map Plugin 5 5 Requires at least: 4.1 6 Tested up to: 4. 4.27 Stable tag: 4. 16 Tested up to: 4.7.5 7 Stable tag: 4.5 8 8 This plugin will display the distance & driving direction between two points on earth. (No support provided). 9 9 == Description == … … 81 81 <li>Compatible with Wordpress 4.4.2</li> 82 82 </ul> 83 84 = 4.5= 85 Released on 04/06/2017 86 <ul> 87 <li>Added auto complete with with from and to fields</li> 88 <li>Added developer's MAP API key</li> 89 <li>More to come in premium version soon</li> 90 </ul>
Note: See TracChangeset
for help on using the changeset viewer.