function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Yashita Goyal 17Yashita Goyal 17 

Handling Lightning Event

Hi,

I am developing an application to have Google map markers shown of the object selected. I have develeped fiter component and now implementing map component. 

Am facing issue in handling event. Below are things am doing:
1. Set event param as list of sObject (as it depends on the user filter selection) during event registration
2. Handle event and get those event param. Am unable to get those List of sobject in param.

It would be great if someone could help me.

Thanks.
Yashita Goyal 17Yashita Goyal 17
I was able to do it. However, maps are not getting displayed.

I have used leaflet.js to impement it.

Can someone please help.
Yashita Goyal 17Yashita Goyal 17
@jeffdouglas
I read that in lightning we cannot show map directly. We have to wrap in iFrame thru VF page and use it in lightning component.

I started following this thread:
http://www.rattanpal.com/2017/03/19/salesforce-implement-google-maps-lightning-components/#comment-2080

But am getting event.data.loadGoogleMap as undefined in VF page.

Can someone please help.

Thanks.