Posted: 18 Nov 2020 5:46 EST Last activity: 18 Nov 2020 23:45 EST
Google Maps Script- How to set markers on the Map from a pagelist
We have a requirement related to Google Maps in our application. We have achieved all the below points successfully using the script.
1. Loading the Maps.
2. Setting markers on the Map (capturing the Latlang into pagelist)
3. Remove marker (removing from the pagelist)
Issue: whenever we do a refresh browser (or) submit, Map gets loaded again with initMap() function. And All the markers will be gone, since we do not define a function to get from pagelist and then set markers.
Did anyone try this earlier? Does anyone know any other approach? Or How to get it from the pagelist and set markers on Map?