GogoleMaps.vfp: Visualforce Page
- Google Maps library
- Listen to “message” event for window.postMessage
- Send “message” event to Lightning Component
GoogleMaps.cls: Apex Class
- Return list of all accounts with BillingLongitude and Billing Latotude
GoogleMaps.cmp: Lightning Component
- Accept data to draw on Google Map
- Listen to “message” event for window.postMessage
- Send data to iFramed Visualforce after iFrame has loded successfully
DemoApp.app
- Fetches account list from Apex class
- Prepares data in proper format
- Send data to GoogleMaps.cmp to draw Google Map
