Question

3
Replies
163
Views
Prasad_Lagadapati Member since 2014 8 posts
PEGA
Posted: 2 years ago
Last activity: 2 years 1 month ago
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 Interface
Moderation Team has archived post
Share this page LinkedIn