Your address will show here +12 34 56 78

Home Forums Geolocation ON by default

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 3 years, 6 months ago.

  • Author
    Posts
  • #29089

    Anna
    Keymaster

    You should start from mapfunctiosn.js

    at line 30 is the action that start the procedure when the button is clicked
    if(  document.getElementById(‘geolocation-button’) ){
        google.maps.event.addDomListener(document.getElementById(‘geolocation-button’), ‘click’, function () {
             myposition(map);
             close_adv_search();
        });
    }
             myposition(map); – is the function that localize the user
    Good luck!
    Anna

You must be logged in to reply to this topic.