The below guide shows you how to integrate Google Maps into your app
Then, copy your Google API Key and paste it into left panel in Adalo for your Map Component
- 6.Go to https://console.cloud.google.com/billing/linkedaccount and click Link Billing account. Your Google account includes $300 credit for a free trial of its API, and will not start billing your card without your consent, but Google does require that you have a credit card on file in order to access the free trial of its API.
- 1.Select if your map will display a single marker or multiple markers. If you select Mutiple Markers...
- 2.Select which Collection to list the markers for.
- 3.Optionally choose to filter which records in that collection to display markers for.
- 4.You can also set a max number of items as well as sorting. For example, you can choose to only display markers for the top 10 records, sorted a-z.
- 1.Next, expand the Markers section of the left panel.
- 2.Set the address for each marker using magic text. You can do this with one or multiple magic text properties. Note, you won't see the actual markers with the correct addresses in the Builder, but you will see them when you preview, share, or publish your app.
- 3.You can change the style of your markers by clicking on the "Markers" option and changing the Marker source from Default to Custom. Then in the "Marker image" you will be able to submit an Image, select it from your Collections or add an URL. You can also add an image in case there isn't an image found for the marker.
- 4.Optionally add any actions to your markers. For example, clicking on a marker could link to a new screen with details about that record, or could open a bottom sheet with more information.
Choose the Map Style option of either Roadmap, Hybrid, Satellite, or Terrain
Want even more control over the style of your map? No problem. You can add custom JSON to further customize your map. Not sure about writing your own JSON code? Not to worry! You can use the Google Maps Styling Wizard to make your own map style. The Wizard will automatically generate the JSON for you that you can copy and paste into Adalo.
2) Click Create a Style
3) Make your style customizations
4) Click Finish
5) Click Copy JSON
6) Paste your JSON in Adalo
7) Preview your app to see the custom styles! Note: You won't see the custom styles in the Builder, but you will see them in the app's preview, share link, and of course, the published app.