User Manual

Google Map MCP Settings 

Overview

With Google Maps MCP, you can:

  • Convert an address to latitude-longitude coordinates (Geocoding)
  • Convert coordinates to an address (Reverse Geocoding)
  • Calculate routes (driving, walking, bicycling, transit)
  • Search for places/locations in a specific area (Search Places)
  • Calculate distance and time (Distance Matrix)
  • Get place details (Place Detail)

The Distance Matrix API is used in the background to calculate the distance and time of routes. The Google Map Directions action is used for route calculations in MCP.

Configuration Manager Settings

  1. Log in to the Kuika platform.
  2. Select the project you want to work on.
  1. Go to the Configuration Manager → App Settings tab.
  2. Under MCP → Google Map, click ADD NEW.
  3. In the window that opens:
    • Name: Name the setting.
    • API Key: The key you obtained from Google Cloud Console.

Creating a Google Map API Key

  1. Go to Google Cloud Console.
  1. Select an existing project or create a new one.
  1. From the menu, go to APIs & Services → Library.
  2. Enable the following APIs:
    • Directions API
    • Distance Matrix API
    • Geocoding API
    • Places API
    • Places API (new)
  1. From the menu, go to APIs & Services → Credentials.

  1. Select Create Credentials → API Key.
  1. Copy the generated API Key.
  2. On the Edit API Key page:
  • Application restrictions:
    • For web → HTTP referrer (domain name)
    • For mobile → Android package name / iOS bundle ID
    • For server → IP restriction
    • None → No restriction
  • API restrictions: Only allow the APIs you enabled above.
  1. Save with Save.
  2.  Add the API Key to the Configuration Manager → Google Map Settings field in Kuika.

Action Types

Google Map Get Geocode

Converts an address to coordinates.

  • Input:
    • settings
    • address (e.g., “Istiklal Caddesi, Beyoğlu, İstanbul”)
  • Output:
  • location.lat, location.lng
  • Formatted_address
  • place_id

Google Map Place Detail

Retrieves details for a specific place_id.

  • Input:
    • settings
    • place_id (found with Get Geocode or Search Places)
  • Output:
  • name
  • location.lat, location.lng
  • formatted_address

Google Map Reverse Geocode

Converts coordinates to an address.

  • Input:
    • settings
    • latitude, longitude
  • Output:
  • formatted_address
  • place_id
  • address_components → subcomponents (e.g., street, city, country, postal code)
    • long_name
    • short_name
    • types

Google Map Search Places

Searches for places in a specific area.

  • Input:
    • settings
    • query (e.g., “cafe”, ‘museum’, “hotel”)
    • radius (e.g., 5000 → 5 km)
    • latitude, longitude
  • Output:
  • name
  • formatted_address
  • location.lat, location.lng
  • place_id
  • rating (1.0–5.0)
  • types (e.g., “cafe”, ‘restaurant’, “point_of_interest”)

Google Map Directions

Calculates the distance and time between two points.

  • Input:
    • settings
    • origin (address or lat,lng)
    • destination (address or lat,lng)
    • mode:
      • driving → By car
      • walking → On foot
      • bicycling → By bike
      • transit → By public transport
  • Output:
  • summary → General description of the route
  • distance.text / distance.value → (e.g., “14.3 km”, 14300)
  • duration.text / duration.value → (e.g., “20 mins”, 1200)
  • steps → List of steps on the route:
    • instructions (HTML-formatted directions)
    • travel_mode (driving, walking, bicycling, transit)

Use Cases in Kuika

  • Get address from user and convert to coordinates → Get Geocode
  • Convert clicked point on map to address → Reverse Geocode
  • “Find cafes near me” → Search Places
  • Show fastest route between two addresses → Distance Matrix
  • Get detailed route steps and directions between two points → Google Map Directions
  • Get details about a place (e.g., rating, address) → Place Detail
Google Map MCP Settings 

Overview

With Google Map MCP, you can:

  • Convert an address to latitude-longitude coordinates (Geocoding)
  • Convert coordinates to an address (Reverse Geocoding)
  • Calculate routes (driving, walking, bicycling, transit)
  • Search for places/locations in a specific area (Search Places)
  • Calculate distance and time (Distance Matrix)
  • Get place details (Place Detail)

The Distance Matrix API is used in the background to calculate the distance and time of routes. The Google Map Directions action is used for route calculations in MCP.

Configuration Manager Settings

  1. Log in to the Kuika platform.
  2. Select the project you want to work on.
  1. Go to the Configuration Manager → App Settings tab.
  2. Under MCP → Google Map, click ADD NEW.
  3. In the window that opens:
    • Name: Name the setting.
    • API Key: The key you obtained from Google Cloud Console.

Creating a Google Map API Key

  1. Go to Google Cloud Console.
  1. Select an existing project or create a new one.
  1. From the menu, go to APIs & Services → Library.
  2. Enable the following APIs:
    • Directions API
    • Distance Matrix API
    • Geocoding API
    • Places API
    • Places API (new)
  1. From the menu, go to APIs & Services → Credentials.
  1. Select Create Credentials → API Key.
  1. Copy the generated API Key.
  2. On the Edit API Key page:
  • Application restrictions:
    • For web → HTTP referrer (domain name)
    • For mobile → Android package name / iOS bundle ID
    • For server → IP restriction
    • None → No restriction
  • API restrictions: Only allow the APIs you enabled above.
  1. Save.
  1.  Add the API Key to the Configuration Manager → Google Map Settings field in Kuika.

Action Types

Google Map Get Geocode

Converts the address to coordinates.

Input:

  • settings: Select the Google Map setting created in Config Manager.
  • address (String): Readable address entered by the user. (E.g.: “Istiklal Caddesi, Beyoğlu, İstanbul”)

Output:

  • location.lat, location.lng: Latitude-longitude coordinates.
  • formatted_address: Full address standardized by Google.
  • place_id: Unique ID on Google Maps.

Google Map Place Detail

Retrieves details for a specific place_id.

Input:

  • settings: Select the Google Map setting created in Configuration Manager.
  • place_id (String): The unique identifier of the place. (Obtained from Get Geocode or Search Places results.)

Output:

  • name: Place/business name.
  • location.lat, location.lng: Latitude-longitude coordinates.
  • formatted_address: Standardized address.

Google Map Reverse Geocode

Converts coordinates to an address.

Input:

  • settings: Select the Google Map setting created in Config Manager.
  • latitude (Decimal): Latitude value.
  • longitude (Decimal): Longitude value.

Output:

  • formatted_address: Full address information.
  • place_id: Unique identifier.
  • address_components: Subcomponents of the address (street, city, country, postal code).
    • long_name: Full description of the component.
    • short_name: Standard abbreviation.
    • types: Type of the component (e.g., route, locality, country).

Google Map Search Places

Searches for places in a specific area.

Input:

  • settings: Selects the Google Map setting created in Configuration Manager.
  • query (String): Place name/category (e.g., “cafe,” “hotel”)
  • radius (Integer): Maximum distance from the search center (in meters).
  • latitude (Decimal): Latitude value.
  • longitude (Decimal): Longitude value.

Output:

  • name: Place name.
  • formatted_address: Full address.
  • location.lat, location.lng: Coordinates.
  • place_id: Unique identifier.
  • rating (Decimal): User rating (1.0–5.0).
  • types: Categories (e.g., “restaurant,” “museum”).

Google Map Directions

Calculates the distance and time between two points.

Input:

  • settings: Selects the Google Map setting created in Config Manager.
  • origin (String/lat,lng): Starting point.
  • destination (String/lat,lng): Destination.
  • mode (String): Transportation mode.
    • driving → By car
    • walking → On foot
    • bicycling → By bicycle
    • transit → By public transportation

Output:

  • summary: General description of the route.
  • distance.text / distance.value: Total distance (e.g., “14.3 km”, 14300).
  • duration.text / duration.value: Estimated time (e.g., “20 mins”, 1200).
  • steps: Detailed information for each step.
    • instructions: HTML-formatted directions.
    • travel_mode: Transportation mode used.

Google Map Distance Matrix

Input

  • settings: Select the Google Map setting created in Config Manager.
  • origin (String/lat,lng): Starting point.
  • destination (String/lat,lng): Destination point.
  • mode (String): Transportation mode (driving, walking, bicycling, transit).

Output

  • destination_addresses: Formatted destination addresses.
  • origin_addresses: Formatted starting addresses.
  • results: Details for each origin–destination combination.
    • distance: Distance in text and meters.
    • duration: Time in text and seconds.
    • status: Result status (OK, ZERO_RESULTS, etc.).

Usage Scenarios in Kuika

  • Get an address from the user and convert it to coordinates → Get Geocode
  • Convert a point clicked on the map to an address → Reverse Geocode
  • “Find cafes near me” → Search Places
  • Show the fastest route between two addresses → Distance Matrix
  • Get detailed route steps and directions between two points → Google Map Directions
  • Get details about a place (e.g., rating, address) → Place Detail
No items found.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar