Version
Report Server Version | App Version | Functional Change |
11.0 | 11.0 | / |
11.0.26 | 11.0.91 | The interface supported the FineVis Data Visualization plugin of version 2.6.0 and later. |
The following methods are mobile-specific methods for FR objects.

location
Method | location(function) | Implements location functionality and obtains latitude and longitude, which can be used in HTTPS. |
Parameter | function(status, message, coordinate){...} | / |
Return Value | / | Android status: Indicates whether the locating is successful, as a string. "success": Indicates that the locating is successful. Others: Indicates that the locating is unsuccessful. message: Indicates the acknowledgment message. 1. It returns latitude and longitude when the locating is successful. 2. It returns the corresponding error message when the locating is unsuccessful. coordinate: Indicates the coordinate system information. "WGS84": Indicates the World Geodetic System 1984 (the global standard which is used by Google Maps and the coordinate system returned by iOS devices). "GCJ02": Indicates the Mars Coordinate System (the Chinese standard which is used by Amap and Tencent Map. The coordinate system returned by Android devices). |
Example | Example 1: Obtaining the geographic location (Latitude and longitude are returned if the locating is successful, and the error message is returned if the locating is unsuccessful.)
Example 2: Obtaining the geographic location in the FVS template. (Latitude and longitude are returned if the locating is successful, and the error message is returned if the locating is unsuccessful.)
| |
Application Example | After you click a button, latitude and longitude are obtained and filled in the corresponding cells. For details, see [App] Getting Current Geographic Location. | |
Mobile Terminal | Supports mobile terminals. |
Mobile.getDeviceInfo
Method | Mobile.getDeviceInfo | Obtains device information. |
Parameter | / | / |
Return Value | DeviceInfo: { Model:String, DeviceID:String } | DeviceInfo: Indicates the Jason object containing two properties. Model: Indicates the device model. DeviceID: Indicates the unique ID of the device. |
Example | Example 1: Obtaining the current device information.
Example 2: Obtaining the current device information in the FVS template.
| |
Application Example | You can view device information on the mobile terminal. For details, see [App] JS Getting Mobile Device Information. | |
Mobile Terminal | Only supports App (DataAnalysis). |