Title: plugin with geolocation   radius and position changed.
Last modified: August 21, 2016

---

# plugin with geolocation radius and position changed.

 *  Resolved [themc](https://wordpress.org/support/users/themc/)
 * (@themc)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-with-geolocation-radius-and-position-changed/)
 * working with the latest wp up to date.
 * this script is working up to date with geolocation (blue dot +radius).
    i still
   need help with 1 more thing. making it so when using directions the from here
   point will be filled with the users geolocation. if anybody could pretty plz 
   help with that this version from the cgmp would be awesome.
 * if you want the plugin with my work so far:
 * 2. in your wordpress by ftp goto wp-content/plugins/comprehensive-google-map-
   plugin/assets/js/
 * 3. open cgmp.framework.min.js
 * 4. open a browser and goto [http://pastebin.com/uw9MBqAW](http://pastebin.com/uw9MBqAW)
   use the raw paste and overwrite your cgmp.framework.min.js file.
 * 5.save and get a mobile device phone or tablet. (i found google chrome also works
   but the radius is very very big…. on a device its more accurate thnx to sensors.
 * ill upload a picture with screenshot from our ipad as example in the next post.
 * [http://wordpress.org/plugins/comprehensive-google-map-plugin/](http://wordpress.org/plugins/comprehensive-google-map-plugin/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [themc](https://wordpress.org/support/users/themc/)
 * (@themc)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-with-geolocation-radius-and-position-changed/#post-4250908)
 * as promised the screenshot.
 * watch it before the link expires.
 * [http://tinypic.com/r/25ezn6e/5](http://tinypic.com/r/25ezn6e/5)
 * + if somebody could help me with the directions from here or to here (geolocation
   start point) part…. it would make my day.
 *  Thread Starter [themc](https://wordpress.org/support/users/themc/)
 * (@themc)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-with-geolocation-radius-and-position-changed/#post-4250916)
 * small fix i noticed while testing i deleted the
 * $(dirDivId + ‘ input#b_address’).val(addy); from the first field.
 * this makes it so the to here wasnt working correctly you can fix it by putting
   the line above under the input a value by searching for addy in the script.
 * **or bij replacing the following content
 * _[ Moderator note: please wrap code in [backticks or use the code button](http://codex.wordpress.org/Forum_Welcome#Posting_Code).]_
 *     ```
       var addy = marker.content;
                                                       addy = addy.replace("Lat/Long: ", "");
   
       						$(parentInfoBubble + ' a.dirToHereTrigger').live("click", function() {
       							var thisId = this.id;
       							if (thisId == 'toHere-' + localBubbleData.bubbleHolderId) {
       								$(dirDivId).fadeIn();
       								$(dirDivId + ' input#a_address').val('');
   
       								$(dirDivId + ' input#radio_km').attr("checked", "checked");
       							}
       						});
   
       						$(parentInfoBubble + ' a.dirFromHereTrigger').live("click", function() {
       							var thisId = this.id;
       							if (thisId == 'fromHere-' + localBubbleData.bubbleHolderId) {
       								$(dirDivId).fadeIn();
       								$(dirDivId + ' input#a_address').val(addy);
       								$(dirDivId + ' input#b_address').val('');
       								$(dirDivId + ' input#radio_km').attr("checked", "checked");
       							}
       						});
       <strong>with </strong>
   
       var addy = marker.content;
                                                       addy = addy.replace("Lat/Long: ", "");
   
       						$(parentInfoBubble + ' a.dirToHereTrigger').live("click", function() {
       							var thisId = this.id;
       							if (thisId == 'toHere-' + localBubbleData.bubbleHolderId) {
       								$(dirDivId).fadeIn();
       								$(dirDivId + ' input#a_address').val('');
                                                                       $(dirDivId + ' input#b_address').val(addy);
       								$(dirDivId + ' input#radio_km').attr("checked", "checked");
       							}
       						});
   
       						$(parentInfoBubble + ' a.dirFromHereTrigger').live("click", function() {
       							var thisId = this.id;
       							if (thisId == 'fromHere-' + localBubbleData.bubbleHolderId) {
       								$(dirDivId).fadeIn();
       								$(dirDivId + ' input#a_address').val(addy);
       								$(dirDivId + ' input#b_address').val('');
       								$(dirDivId + ' input#radio_km').attr("checked", "checked");
       							}
       						});
       ```
   
 *  Thread Starter [themc](https://wordpress.org/support/users/themc/)
 * (@themc)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-with-geolocation-radius-and-position-changed/#post-4251054)
 * i got it all fixed including the to here from here.
 * so the script is finally complete.
 * halleluja!!!
 * [http://pastebin.com/QeqRx4S1](http://pastebin.com/QeqRx4S1)
 * download it if you want.
 *  Plugin Contributor [alexanderzagniotov](https://wordpress.org/support/users/alexanderzagniotov/)
 * (@alexanderzagniotov)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/plugin-with-geolocation-radius-and-position-changed/#post-4251088)
 * Wow, thanks a lot. Nice feature!
 *  Plugin Contributor [alexanderzagniotov](https://wordpress.org/support/users/alexanderzagniotov/)
 * (@alexanderzagniotov)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/plugin-with-geolocation-radius-and-position-changed/#post-4251089)
 * Will add into v8.0.2
 *  Plugin Contributor [alexanderzagniotov](https://wordpress.org/support/users/alexanderzagniotov/)
 * (@alexanderzagniotov)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/plugin-with-geolocation-radius-and-position-changed/#post-4251090)
 * Added it as an experimental feature for users with mobile devices

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘plugin with geolocation radius and position changed.’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/comprehensive-google-map-plugin_e2e4ef.
   svg)
 * [Comprehensive Google Map Plugin](https://wordpress.org/plugins/comprehensive-google-map-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/comprehensive-google-map-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/comprehensive-google-map-plugin/reviews/)

## Tags

 * [iphone](https://wordpress.org/support/topic-tag/iphone/)
 * [movement](https://wordpress.org/support/topic-tag/movement/)
 * [smartphone](https://wordpress.org/support/topic-tag/smartphone/)
 * [tablet](https://wordpress.org/support/topic-tag/tablet/)

 * 6 replies
 * 2 participants
 * Last reply from: [alexanderzagniotov](https://wordpress.org/support/users/alexanderzagniotov/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/plugin-with-geolocation-radius-and-position-changed/#post-4251090)
 * Status: resolved