• Yashita Goyal 22
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies
Hi,

I have developed Map component. On selection map shows marker to the excat location selected. However, when I change the map is not reloading.

Code Structure:

Binding Component:
<c:FilterComponent/>
<c:MapComponent mapOptions="{!v.mapOptions}" mapOptionsCenter="{!v.mapOptionsCenter}" mapData="{!v.mapData}" />

The binding component contains 2 component filter and map.

Filter component has filter like user will select Account --> Country as USA --> State as NC. On basis of that system will query all account records satisfying the criteria and show on map

Issue: if filter is changed by used to Contact --> USA --> PA, then map component should be refreshed on the basis of filter selected.

Can anyone help me on how to reload map component when values aure updated?

Thanks,
Yashita
Hi,

I have developed Map component. On selection map shows marker to the excat location selected. However, when I change the map is not reloading.

Code Structure:

Binding Component:
<c:FilterComponent/>
<c:MapComponent mapOptions="{!v.mapOptions}" mapOptionsCenter="{!v.mapOptionsCenter}" mapData="{!v.mapData}" />

The binding component contains 2 component filter and map.

Filter component has filter like user will select Account --> Country as USA --> State as NC. On basis of that system will query all account records satisfying the criteria and show on map

Issue: if filter is changed by used to Contact --> USA --> PA, then map component should be refreshed on the basis of filter selected.

Can anyone help me on how to reload map component when values aure updated?

Thanks,
Yashita
Hello Everyone,
I want to know how can we reload an iframe which contains a visualforce page,so that the value in visualforce page could be updated, through a button in lightning component.
P.S.- I don't have any code regarding it.
Thanks
Regards