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
Michael MuchowMichael Muchow 

Lightning Map Component

Hi guys,
I'm trying to build a component with the new Map component.
It works most of the time fine but I have some troubles on records without a latitude / longitude like person accounts or contacts.

For most of the addresses it works fine but for other I get the wrong map position.

Like 

Zossener Straße 56
15838 Am Mellensee
Germany

My map component on a person account record shows me the Salesforce Tower but the already integrated map below the address compound field shows me the correct position.

Is there any other possible solution than update the latitude and longitude per trigger?

Another question is, if someone updates the address the map component will not refresh but the location variable has the new values, but the map stays the same.