WordPress.org

Ready to get started?Download WordPress

Forums

Basic Google Maps Placemarks
Automatic Location (10 posts)

  1. Illya King
    Member
    Posted 2 years ago #

    Is there a wayto get the plugin to automatically detect your location?
    Thanks

    http://wordpress.org/extend/plugins/basic-google-maps-placemarks/

  2. Ian Dunn
    Member
    Plugin Author

    Posted 2 years ago #

    The plugin doesn't support geolocation, but I'll add it to the list of requested features and consider it if enough people ask for it.

  3. Illya King
    Member
    Posted 2 years ago #

    Ok, thanks.

  4. kiwimana
    Member
    Posted 1 year ago #

    Any update on this feature? It would great to be able to show customers the map based on their current location...

    Oh does anyone know of a map plugin that does support Geolocation?

    Thanks...Gary

  5. danil0
    Member
    Posted 1 year ago #

    yes I need it to..please start coding it..

  6. doped_y0uth
    Member
    Posted 1 year ago #

    Anyone worked this out yet? I would really like as well

  7. 3stripe
    Member
    Posted 1 year ago #

    +1 for this feature. Would be great especially for mobile users :)

  8. candy2012
    Member
    Posted 1 year ago #

    please pleas, we need this! :)

  9. jesse.t
    Member
    Posted 1 year ago #

    This looks to be ridiculously easy to implement if you use http://dev.maxmind.com/geoip/geolite
    http://www.phparch.com/2011/11/geolocation-its-easier-than-it-looks/

    Will look to play with this this afternoon as I'll be implementing it myself. Will let you know what I find.

  10. jesse.t
    Member
    Posted 1 year ago #

    I'm not going to explain how to setup or install geolocation as that can be found on the phparch.com link. I used Quova as I don't have credentials to add pear files to the server I am working on. Having said that, please look at the following pastebin to get an idea on how to do the geolocation on page load:

    http://pastebin.com/jQyP79r3

    This is at the bottom of my functions.php. Obviously you have to have an include or require to the quova class.

    If I remember correctly you have to create a custom page for this using the code <?php echo do_shortcode('[bgmp-map]'); ?> to create the map.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic