It appears the new lightning:map component released in Winter '19 works in LEX, but isn't visible to guest or logged in users in a lightning community.
Can anyone confirm that this is true? Is there a configuration setting to enable it?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityCan anyone confirm that this is true? Is there a configuration setting to enable it?
Not true - The lightning:map component is available for guests and logged-in users, there is no configuration to set it up.
This might be most likely due to a permission issue for the profiles.
sample map component for guest user can be found here:
https://coffee-joe-developer-edition.na59.force.com/s/map
when you say 'not visible' it is possible that it is not rendering due to data not being passed to it due to a permission issue, if you do not add any sort of validation or debugging in your code, it will be hard to tell why the component is not rendering.
From the documentation in the link here it says clearly that its avaliable for communities.
The only caveat is your component needs to use API version 44 and greater.
I haven't tried it but from documentation it should be possible.
This is a known issue : in Communities, the lightning:map does not acknowledge any relaxed CSP security setting :
No workaround as of today