Altova MobileTogether Designer

The Show Geolocation action opens the map application of the mobile device and displays the specified information. You can specify one of the following sub actions (see screenshot below):

 

Show geolocation: The location on the map of the coordinates that you specify

Show route from current location: The route on the map from the current location to a specified location

Show route between locations: The map route on the map between two specified locations

 

All locations in these options are given by their geolocation coordinates.

MTDShowGeolocationInMap

 

Show geolocation

The Show Geolocation action opens the map application of the mobile device, and places a pin and label at the specified geolocation.

MTDShowGeolocationInMap

The Show Geolocation action has the following settings:

 

Specify Location as: Whether the entry of the Location setting (next setting) is a latitude/longitude coordinate or an address. The screenshot above shows that the latitude/longitude option has been selected.

Location: The geolocation to be shown in the map. If a latitude/longitude coordinate is indicated in the previous Specify Location As setting, then the coordinates of the location must be entered as an XPath expression (as shown in the screenshot above). The generated string must have one of the lexical formats described in the Geolocation input string formats section below. If the Address option is selected, then the Location entry could be something like: "Rudolfsplatz 13a, 1010 Vienna".

Label: The text of the label that is attached to the geolocation shown in the map. The text is entered as an XPath expression that generates an xs:string.

Zoom: The zoom factor of the map when it is opened in the map application.

 

Show route from current location

The Show route from current location action opens the map application of the mobile device, and shows the route from the current location to the specified geolocation.

MTDShowRouteFromCurrentLoc

The Show route from current location action has the following settings:

 

Specify Location as: Whether the entry of the Location setting (next setting) is a latitude/longitude coordinate or an address. The screenshot above shows that the latitude/longitude option has been selected.

To Location: The destination location to be shown in the map. If a latitude/longitude coordinate is indicated in the previous Specify Location As setting, then the coordinates of the location must be entered as an XPath expression (as shown in the screenshot above). The generated string must have one of the lexical formats described in the Geolocation input string formats section below. If the Address option is selected, then the Location entry could be something like: "Rudolfsplatz 13a, 1010 Vienna".

Label: The text of the label that is attached to the destination location shown in the map. The text is entered as an XPath expression that generates an xs:string.

Routing type: Select the type of transport that will be used to travel the route: (i) Drive (private transport), (ii) Walk, (iii) Public Transport.

 

Show route between locations

The Show route between locations action opens the map application of the mobile device, and shows the route between the two specified geolocations.

MTDShowRouteBetweenLocs

The Show route between locations action has the following settings:

 

Specify Location as: Whether the entry of the Location settings are latitude/longitude coordinates or addresses. The screenshot above shows that the latitude/longitude option has been selected.

From/To Location: The start and destination locations, respectively, to be shown in the map. The coordinates of the locations are entered as XPath expressions. If latitude/longitude coordinates are indicated in the previous Specify Location As setting, then the coordinates of the locations must be entered as XPath expressions (as shown in the screenshot above). The generated strings must have one of the lexical formats described in the Geolocation input string formats section below. If the Address option is selected, then the Location entries could be something like: "Rudolfsplatz 13a, 1010 Vienna".

Label: The text of the label that is attached to the start and destination locations, respectively. Each text is entered as an XPath expression that generates an xs:string.

Routing type: Select the type of transport that will be used to travel the route: (i) Drive (private transport), (ii) Walk, (iii) Public Transport.

 

 

For information about specifying geolocation data for designer and server simulations, see the section Geolocation Settings.

 

MobileTogether extension functions

MobileTogether provides a range of XPath extension functions that have been specifically created for use in MobileTogether designs. Some functions can be particularly useful with specific actions. For example, mt-available-languages() returns the languages in which the solution is available and could, for example, be used with the Message Box action. If a function is especially relevant to this action, it is listed below. For a full list of extension functions and their descriptions, see the topic MobileTogether Extension Functions.

 

mt-geo-map-marker()

mt-geolocation-started()

 

© 2018-2024 Altova GmbH