You need to sign in to do that
Don't have an account?
uu
How to create map view in lightning
I have custom object with a field Geolocation type .
How can i create map view of that cities .
I have inserted longitude and latitude values for every city.
how i add it to page layout?
How can i create map view of that cities .
I have inserted longitude and latitude values for every city.
how i add it to page layout?
You can refer the sample code below:
How to do it?
Please follow the below links.
https://developer.salesforce.com/docs/component-library/bundle/lightning:map/example
https://developer.salesforce.com/docs/component-library/bundle/lightning:map/documentation
https://rajvakati.com/2018/09/26/creating-google-maps-with-lightningmap-component/
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Sachin Arora