• idealeru
    November 20, 2014 at 12:02 pm #100792

    How to disable that function?
    We do not need such taxonomies like county, area/neighborhood. Moreover that function automatically creates a new taxonomies that doesn’t match our language. We want manually to keep them in actual.

    ———

    ANSWER

    In order to disable the auto complete from the address, you will need to go to js/google_js/google_map_submit.js and remove the following code from line 210:

    autocomplete = new google.maps.places.Autocomplete(
    /** @type {HTMLInputElement} */(document.getElementById(‘property_address’)),
    { types: [‘geocode’],
    “partial_match” : true
    }
    );
    // When the user selects an address from the dropdown,
    // populate the address fields in the form.
    google.maps.event.addListener(autocomplete, ‘place_changed’, function() {
    var place = autocomplete.getPlace();
    fillInAddress(place);
    });

You must be logged in to reply to this topic.

'
Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.