Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The MapsOSM controls implements map functionality based on OpenStreet map provider.

On this page:

Table of Contents
maxLevel3
stylenone


Requirements

This components runs only on Windows, on RichClient and SmartClient clients. 


Configuration

  1. Go to Displays / Draw.
  2. Select Viewer, then MapsOSM.
  3. Add it to the Draw area by clicking or dragging and dropping it.
  4. 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: 

  • OpenStreetMap

  • GogleMaps

  • Bing Maps

  • Cloud Made

  • Google

  • Open Cycle

  • WikiMapia

  • Yahoo Maps

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
root@parent
spacesV10