-
-
Notifications
You must be signed in to change notification settings - Fork 16
JK64 Report Google Map R1 Show Directions
If you have installed this optional plugin, you can use it to add a dynamic action that requests directions and illustrates them on the map plugin region.
PRE-REQUISITE: to use Directions you must enable the Directions API on your Google Cloud Platform project. Read "Getting started" at https://developers.google.com/maps/documentation/javascript/directions to enable the Directions API.
Directions can alternatively be requested using your own JavaScript code but it's easier (and more future-proof) to use the Dynamic Action plugin.
- Status: Released Jan 2021
- Plugin Name: JK64 Report Google Map R1 Show Directions
- Internal Name: COM.JK64.REPORT_GOOGLE_MAP_DIRECTIONS_DA
Determines how the parameters for the Directions are derived - whether to take the values from items on the page, or to base them on a JavaScript expression, or to take them from items based on jQuery selectors, or to specify the Values directly (i.e. static value or based on a substitution string). All three parameters (Origin, Destination, and Travel Mode) must be provided using the same means - i.e. three page items, three expressions, etc.
Specify a page item.
Specify the jQuery selector.
Specify a JavaScript expression to evaluate.
Enter a static value; substitution syntax allowed.
Enter the value to be used to find the Origin point. The value will be used to search for a location - they may be a Latitude,Longitude pair, or a street address.
Enter the value to be used to find the Destination point. The value will be used to search for a location - they may be a Latitude,Longitude pair, or a street address.
Specify how to derive the Travel Mode. The value must resolve to one of the following values (uppercase): DRIVING, WALKING, BICYCLING, or TRANSIT
Must be set to the JK64 Google Map Plugin region.