I am building a page that loads a google map with a street view on another div on the side and I would like to save this data so that the user closes his browser window and then returns so that he lifts it again without having to access the map API again Google
I tried to save the contents of the div and replace it with the current if the user has already visited. I tried using cookies, but could not save a lot of information due to the 4K size limit, and I tried localStorage (HTML5), but it did not work properly.
Any ideas? Thanks
Alon source
share