Question

2
Replies
31
Views
Close popover
KAMAL KUMAR G (NIckyNick)
Aaseya IT Services Pvt Ltd
Associate Consultant
Aaseya IT Services Pvt Ltd
SA
NIckyNick Member since 2017 4 posts
Aaseya IT Services Pvt Ltd
Posted: November 18, 2020
Last activity: November 18, 2020

Google Maps Script- How to set markers on the Map from a pagelist

Hi All,

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?

 

Thanks in advance.

Pega Platform 8.4.1 User Experience Government Senior System Architect