The MapsOSM controls implements map functionality based on OpenStreet map provider.
On this page:
Table of Contents | ||||
---|---|---|---|---|
|
Requirements
This components runs on Windows, on RichClient and SmartClient clients.
Configuration
- Go to Displays / Draw.
- Select Viewer, then MapsOSM.
- Add it to the Draw area by clicking or dragging and dropping it.
- Double-click the object to open the setting window.
Maps configuration | |
---|---|
Field | Description |
Control Name | Defines a name for the control so it can be accessed in the CodeBehind script. See Display CodeBehind. |
Provider | Select the correct provider:
|
Zoom | Sets the Zoom. |
Title | Name to be shown on the component. |
Tooltip | Enables Tooltip. |
GEOJSON | GEO JSON file. |
Initial Position Latitude | Enter the desired Latitude in this field. |
Initial Position Longitude | Enter the desired Longitude in this field. |
Marker Settings | Enables marker settings. |
Marker Settings Width | Sets the marker width. |
Marker Settings Height | Sets the marker height. |
Runtime Execution
When the solution runs, the MapsOSM Control displays the selected map provider’s map. Users can interact with the map, zoom in and out, and view tooltips if enabled. The initial position is set based on the configured latitude and longitude. Marker settings, if configured, display markers with specified dimensions. The control’s name allows access in the CodeBehind script for further customization.
In an industrial setting, a user might use the MapsOSM to monitor the geographic distribution of assets, such as machinery or vehicles. For instance, a logistics company can display real-time locations of its fleet on a map. The user configures the control by selecting the map provider, setting the initial position, and enabling markers to represent each vehicle. When the solution runs, the map shows the current positions of the fleet, allowing the user to track movements and optimize routes. The control’s name allows access in the CodeBehind script for further customization.
In this section:
Page Tree | ||||
---|---|---|---|---|
|