Sorry, but you do not have the capability to view this topic
-
Supported
- Topics: 1
- Replies: 0
- Total posts: 1
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