Google Maps Directions extension for Planyo - Setup page
This extension allows you to add Google Maps directions to your reservation form.
Resource time-related settings
Google Maps Directions will work only with resources using 15-min time units (see time-related in resource settings). You should set the min. rental time to 15 min and max. rental time to the maximum possible trip time.

The end time field will be hidden and automatically set based on the calculated trip duration. You can also set up Additional trip time to increase the duration and gain a time margin for common operations or unpredicted delays. The total calculated duration is then rounded up to the nearest 15-minute slot.
Configuring your pricing
You can easily set your pricing based on the trip duration or on the total distance of the trip (or a combination of both). You do this in Pricing Manager. Instead of the default price expressed in your currency (e.g. 10 USD or 10 EUR) change the price unit to USD/EUR per quarter-hour or USD per mile / EUR per km (depending on your currency and distance unit). Besides the standard rules, you can also choose the rule Distance which can be used to set different per-km price for different distances, e.g. you can have one rate for short distances and another one for long ones.

Enter your Google Maps Directions API key (optional):
Enter your Google Maps API key that will be used to show the Google map and get the directions. It is preferred to use your own API key when you are expecting a high usage of the feature for your Planyo site.
You can request the API key in your Google account here. You can read more about Google Map API keys here. Make ensure in your Google Cloud Platform Console that the Directions API is enabled in for the project the key comes from.
Note that it is recommended that you secure your key with restrictions (by domain name or IP). See the link above for more information about this. If you want to use the directions also in the Planyo backend, make sure that planyo.com is allowed in the restrictions.
If you don't enter your own Google Maps API key, our shared API key will be used instead. Please note that in such case you come under our query limits shared between multiple users. When the limits are reached (like the daily limit) your clients will not be able to get the directions. It is therefore recommended that you use your own API key in production.
Calculate the route in expected traffic conditions:
You can choose to get a route and trip duration that take into account the expected traffic conditions at the departure time (the start date and time selected by the user on the reservation form). In such case, the service uses historical averages to predict the best route and time in traffic at that time.
Please note that this option requires entering your own Google Maps Directions API key in the field above. Also, keep in mind that the Google service charges more for each route request when the traffic conditions are taken into account.
Choose the distance unit:
Choose the unit that will be used to show distance of the route (kilometers or miles).
Additional trip time:
Optionally, you can add extra time to the trip calculated by Google Maps. This can be considered a compensation for any common operations or unpredicted actions during the service.
Add Google Maps Directions form item
Add the Google Maps Directions item to the reservation forms of your Planyo site.
You can add the directions to multiple resources at once. You can also manage (add/move/modify) the Directions item manually in Site settigs / Reservation form layout in the Planyo backend.
Optionally, you can add the $(google_directions_map) tag in your Reservation form template to show the Google map in another location on the page.
Select resources where the Directions form item should be added
Fast&Safe 24 Hours
V.I.P. Limo Service
Airport Shuttle
Your custom Google Maps API key: AIzaSyCyaSdRrSXe1ZUmTcPezKpPWy8VZGBPZBc
Calculation of the route in expected traffic conditions: No traffic conditions
Distance unit: km
Additional trip time: -