Google Map

How to Connect with Google Maps

For creating an API Key follow the link and steps:

https://developers.google.com/maps/documentation/embed/get-api-key

Ā 

Ā 

then you have select the project

Check If have already or not, If not then Create API key, it will some moment,

Ā 

You will get API Key, copy API Key

And insert API key into Integration -> Google MapĀ 

Ā 

Adding APIs: Users need to enable specific APIs to ensure proper integration. Following are the required APIs

  1. Maps Datasets API

  2. Maps Elevation API

  3. Maps Embed API

  4. Maps Javascript API

  5. Maps Static API

  6. Geocoding API

  7. Geolocation API

  8. Places API

  9. Directions API

  10. Distance Matrix API

Video Tutorial - How to connect with Google Maps

https://www.youtube.com/watch?v=LD_-anoT5NQ

Ā 

Unlocking a world of possibilities with Google Maps API

Integration Setup

Access the Google Maps integration in the integration section. Insert your API key and verify the status to ensure it's verified.

Adding Store Location

Easily add new locations for stores or other points of interest directly within your workspace. Go to Ecommerce -> Location

You can access Google Map API inside Flow Builder -> Create Action Node -> Integrations -> Google Map API

Ā 

Actions:

Get Geocodes by Address

Geocodes are latitude and longitude coordinates of a street address, which can be used to place markers on a map. Enter the address and fill in the parameters to obtain the latitude and longitude.

Ā 

Get the Address by Geocode

You can obtain an address by entering the latitude and longitude coordinates.

Ā 

Get Distance Matrix

You can calculate the distance between two locations by providing either the address names or the latitude and longitude coordinates. Additionally, you'll need to specify the mode of travel (Driving, Walking, Cycling). The response will include the distance and duration of travel.

Get Direction

To obtain steps from the origin to the destination, you need to input the latitude and longitude coordinates for both the origin and destination. This will provide you with the total distance as well as the steps involved in the journey. You can store the steps in a JSON variable for further use.

Ā 

Get Directions By Address

Similar to the "Get Direction" action, the difference lies in inputting the address instead of latitude and longitude. However, the resulting payload remains the same.

Ā 

  • Customization:

    • Customize the output format of directions and store information using JavaScript to suit your application's needs.

  • Conclusion:

    • The Google Maps API offers endless possibilities for customization and integration into various workflows. Experiment with different actions and functionalities to enhance your projects.

Video tutorial - User cases of Google map