I need a way to refresh and reload my Google Map and Marker with data that was previously saved. Essentially, I want to be able for a user to Autocomplete an address, store the information's lat, long, and place_id from the query, and then if they return to the page again, reload the map with the most recent search marker and map image.
$('#jobLoadingAddressLat').val(place.geometry.location.lat())
$('#jobLoadingAddressLng').val(place.geometry.location.lng())
$("#jobLoadingAddressID").val(place.place_id);
This is what I am using to parse the the Map info. Is there a way for me to use this information to reload the map and marker when the user returns to the page?
Will storing the information in a cookie be the best option? What do you guys recommend? Thanks in Advance.