MicroStrategy ONE
Pass a Location to Google Maps in Android
The following parameters and values are used to pass location information to 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 get directions from Google Maps.
Parameter | Description of Value |
---|---|
http://maps.google.com/maps |
Base URL to open Google Maps |
q |
Map location, such as city or state name This value can be an actual location name or a macro representing an attribute that provides location names. |
geo:latitude,longitude
|
Latitude and longitude values (such as 38.915645,-77.220796) for a location |
The sample links below show how to pass location information to Google Maps from inside your custom mobile application
Sample link to pass a map location to Google Maps as a place, using static values
<a href="http://maps.google.com/maps?q=Washington">Washington, D.C.</a>
Sample link to pass a map location to Google Maps as a place, using dynamic values (macros)
<a href="http://maps.google.com/maps?q={CustomerCity}">{CustomerCity}</a>
Sample link to pass a map location to Google Maps as latitude and longitude
<a href="38.915645,-77.220796">Chicago</a>