Your Time:
Our Time:

Missing establishment autocomplete type in admin_map.js

Sorry, but you do not have the capability to view this topic

  • In Progress
    Posted in: Storeup  
  • Supported
    • Topics: 1
    • Replies: 0
    • Total posts: 1
    2024-03-26 at 7:02 pm #28907

    There appears to be an error in storeup-niche/js/admin_map.js.

    In the initialize function, it adds ‘establishment’ to the autocomplete types:

    function initialize() {
    var search_input_id = document.getElementById(‘iva_loc_address’);
    var autocomplete = new google.maps.places.Autocomplete( search_input_id,{ types: [‘geocode’, ‘establishment’] });

    But later in the file, it creates autocomplete without the establishment type:

    var autocomplete = new google.maps.places.Autocomplete(input, {
    types: [“geocode”]

    When updating the address of a location, setting the address to a prompted establishment, it does not correctly geolocate the longitude and latitude

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.