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
Nikhil PoteNikhil Pote 

How to use google maps(not leaflet) in lightning without geolocation field?

PrasunnaPrasunna
Hi Nikhil,

The below link weill help you.

https://developer.salesforce.com/blogs/developer-relations/2015/04/creating-salesforce-lightning-map-component.html

Thank you,
Pavithra.
Nikhil PoteNikhil Pote
Hi Pavithra,
Thank you for your reply.The link you mentioned is using leaflet.I want to use google map api & that too without creating geolocation custom field to get latitude & longitude.
Pranav ChitransPranav Chitrans
Hi @Nikhil Pote

Did you get any workaround for that.. I do have the same requirement. I have used the Leaflet and fucnionality is working fine but i need to put the UI of ggogle map, red markeer and all. Please help if you have done it.

Thanks
Pranav