MicroStrategy ONE
Get Directions from Google Maps in Android
The following parameters and values are used to retrieve directions from Google Maps using the mobile URL API. Google Maps is an external application that is installed on the mobile device. You can also use URL parameters and values to pass location information to Google Maps.
Parameter | Description of Value |
---|---|
http://maps.google.com/maps |
Base URL to open Google Maps |
daddr |
Destination location This value can be an actual location name or a macro representing an attribute that provides location names. |
saddr
|
Starting location This value can be an actual location name or a macro representing an attribute that provides location names. |
The sample links below show how to retrieve directions from Google Maps from inside your custom mobile application.
Sample link to get directions from Google Maps, using static values
<a href="http://maps.google.com/maps?saddr=Chicago&daddr=Raleigh">Going South</a>
Sample link to get directions from Google Maps, using dynamic values (macros)
<a href="http://maps.google.com/maps?saddr={CustomerAddress}&daddr={StoreAddress}">Store directions</a>