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
Biswojeet Ray 11Biswojeet Ray 11 

Google Map Error

Hi Team,
I am using Google Maps in one object. But suddenly it's not working. Getting error "initMap is not a function", name: "InvalidValueError", stack: "Error↵".
Do you guys know about this error?
SwethaSwetha (Salesforce Developers) 
HI Biswojeet,
This issue is not related to salesforce platform but related to the Google maps API. Please consider reaching out on the appropriate forums group for clear inputs on your ask
Related posts:

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
GetOnCRM SolutionsGetOnCRM Solutions
Google Maps work in Lightning web components. To get Google Maps to work in lightning web components we will need to implement maps in visualforce page and embed in lightning web components as iFrame. One library that locker service team opened in locker service is window.postMessage. This allows lightning web components to send/receive messages to/from visualforce pages. We could use this library and implement Google maps.

GetOnCRM Solutions