Question

3
Replies
182
Views
Close popover
Durgaprasad Lagadapati (Prasad_Lagadapati)
PEGA
Sr. System Architect - Pega Consulting
Pegasystems Inc.
US
Prasad_Lagadapati Member since 2014 8 posts
PEGA
Posted: June 25, 2018
Last activity: August 21, 2018
Closed

Using Map Control multiple times in a section

I have a section in which i use AddressMap (pxAddressMap) multiple times. We display the current user location on the screen by default and on click of a button, we are launching a local action to pull near by people (to current location) and show them as pins on map. The 2nd map we are showing in a modal window. THis works very well.

However we had to write custom map control (Using Google Maps Javascript API) and try to do same as above i am getting an error saying google map api has been used multiple times in the screen.

May i know if there is something to be done in my control that allows me to use it multiple times in the same page? Clearly pxAddressMap does this. I cant see the pxAddressMap source code to find out.

Please let me know if you happen to run into this kind of scenario

Low-Code App Development User Experience
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.