The MapsOSM controls implements map functionality based on OpenStreet map provider.
On this page:
Table of Contents | ||||
---|---|---|---|---|
|
Requirements
This components runs only 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 Code BehindCodeBehind. |
Provider | Select the correct provider:
|
ZoomSet | Sets the Zoom. |
Title | Name to be shown on the component. |
TooltipEnable | Enables Tooltip. |
GEOJSON | GEO JSON file. |
Initial Position Latitude | You need to complete this field with the Latitude that you want to seeEnter the desired Latitude in this field. |
Initial Position Longitude | You need to complete this field with the Longitude that you want to seeEnter the desired Longitude in this field. |
Marker SettingsEnable Marker Settings | Enables marker settings. |
Marker Settings Width | Set Sets the marker width. |
Marker Settings Height | Set 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.PRECISA
In this section:
Page Tree | ||||
---|---|---|---|---|
|