27
Views
1
Comments
Web block inside the google maps marker popup
Question
Application Type
Reactive
Service Studio Version
11.54.54 (Build 63219)

Hi All,


I wanted to include a web block inside the Marker\MarkerPopup component. Fortunately I can have web block in it. It never restricted. 


But the when I open marker popup on the browser , Web block data is not getting rendered on the marker popup.


What I have observed. 



The marked place on the Image where I am getting data from Query. and the Text I have hard coded intentionally to show that Data is coming from web block but not the dynamic one. 


Marker popup only able to display the data which is prepopulated.( while we add the marker, same time we have to load popup info as well) Is that constraint?


Is there any other way I can do  display dynamic information on the popup.


Thanks & Best Regards,

Rama

2022-02-03 15-55-20
Diogo Pereira

Since the WebBlock is "outside" of the marker or all Map component, you need to check if you can get an event on MarkerClick and pass that information to your weblock in order to show the information you need for that Marker that was clicked.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.