Altova MobileTogether Designer

Geolocation Settings

Home Prev Top Next

The Geolocation Settings dialog (screenshot below) enables you to specify geolocations from an XML file for designer and server simulations. You need to specify geolocations in this way because these simulations do not use a mobile device and therefore have no geolocation data available to them. These geolocations stand in for the actual geolocations of a mobile device.


The Geolocation Settings dialog is accessed via the Simulator dialog:


1.Click Run | Simulate Workflow (F5) or Run | Use Server for Workflow Simulation (Ctrl+F5) to access the Simulator dialog.

2.In the Simulator dialog, click the Geolocation button at bottom left to open the Geolocation Settings dialog (screenshot below). The settings made here will be used for both designer and server simulations.


Note:        If no geolocation action is used in the design, the Geolocation button will be not be displayed in the Simulator dialog.


Click to expand/collapse


The geolocation settings

You can make the following geolocation settings:


Geolocation XML file: Contains the default geolocations to use for simulations. The XML file must have the structure listed below. The Browse button enables you to browse for the file. The Refresh button enters the geolocation data of the XML file into the available geolocation values pane in the lower part of the dialog. The default file can be overridden by a geolocations simulation file that is specified in the Start Geolocation Tracking action.

Auto Advance: If Auto Advance is enabled, each geolocation in the XML file is read in turn during simulation. You can specify the time interval between the reading of each geolocation. If Auto Advance is not specified, you can change geolocations during simulation by clicking the Previous or Next buttons at the bottom left of the Simulator dialog. Note that these geolocation values run in the simulator only. They are passed to page source tree nodes (including the $GEOLOCTION tree) only when such an action is explicitly specified in the design.

Show Location on Map: Selects which map application to open in the web browser when the Show Geolocation on Map action is executed.



The geolocation XML file structure

In order for MobileTogether Designer to correctly read geolocation data, the geolocation XML file must have a structure similar to that shown in the listing below. Attributes may be omitted or their values may be the empty string. However, the //Location/Latitude and //Location/Longitude attributes need to be present




© 2018-2024 Altova GmbH