Forum: Gravity Geolocation

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Gravity Geolocation premium extension please open a new premium support ticket.

[Resolved]Drop Pin by double click

Home Forums Gravity Geolocation Drop Pin by double click

This topic contains 3 replies, has 2 voices, and was last updated by  Eyal Fitoussi 3 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #53401

    redhill
    Participant

    Hi,

    I was reading through this https://geomywp.com/forums/topic/pin-by-double-click/ to implement a function to drop the pin on double click.

    These files that need to be edited have changed abit since that version of the plugin.

    Could you let me know if this is possible with the latest Version 2.1.1

    Thanks

    #53410

    Eyal Fitoussi
    Keymaster

    Hi Redhill,

    You can use this script ( place it in the functions.php file ) to allow to move the map marker with a click on the map.

    Note that this work with a single and not double click. When trying to use the double click feature it conflicts with the map’s zoom in which also uses double click.

    I hope that helps.

    #53420

    redhill
    Participant

    Eyal,
    Thankyou very much.

    That worked like a charm 🙂

    #53422

    Eyal Fitoussi
    Keymaster

    You are very welcome.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.