Page "Map Control Factbox UTCAP"
ID 70344766
Namespace: CapVision.Core.Maps.MapsControl
Composant simplifié permettant d'afficher une carte dans une factbox.
Properties
| Name | Value |
|---|---|
| PageType | CardPart |
| ApplicationArea | #All |
| UsageCategory | None |
| Caption | Map Control |
| Extensible | False |
Methods
SetAuthentification
[NonDebuggable]
procedure SetAuthentification(NewAuthentication: Codeunit "Maps Authentication UTCAP")
Parameters
| Name | Type | Description |
|---|---|---|
| NewAuthentication | Codeunit CapVision.Core.Maps."Maps Authentication UTCAP" |
SetCenterPosition
Définit la position du centre de la carte.
procedure SetCenterPosition(Latitude: Decimal, Longitude: Decimal)
Parameters
| Name | Type | Description |
|---|---|---|
| Latitude | Decimal | |
| Longitude | Decimal |
ClearMarkers
procedure ClearMarkers()
AddMarker
procedure AddMarker(Latitude: Decimal, Longitude: Decimal, Title: Text)
Parameters
| Name | Type | Description |
|---|---|---|
| Latitude | Decimal | |
| Longitude | Decimal | |
| Title | Text |
AddMarker
procedure AddMarker(Latitude: Decimal, Longitude: Decimal, Title: Text, Id: Text[50])
Parameters
| Name | Type | Description |
|---|---|---|
| Latitude | Decimal | |
| Longitude | Decimal | |
| Title | Text | |
| Id | Text[50] |
ClearGeometries
Supprime toutes les formes géométriques.
procedure ClearGeometries()
SetZoomLevel
Définit le niveau de zoom de la carte.
procedure SetZoomLevel(Zoom: Integer)
Parameters
| Name | Type | Description |
|---|---|---|
| Zoom | Integer |
AddRoute
procedure AddRoute(var Routes: Record "Maps Route UTCAP" temporary)
Parameters
| Name | Type | Description |
|---|---|---|
| Routes | Table CapVision.Core.Maps."Maps Route UTCAP" |
Clear
Supprime toutes les données de la carte sauf les layers de rendus
procedure Clear()
AddGeometry
Ajoute une forme géométrique.
procedure AddGeometry(Geometry: JsonObject)
Parameters
| Name | Type | Description |
|---|---|---|
| Geometry | JsonObject |
https://learn.microsoft.com/en-us/azure/azure-maps/geofence-geojson et https://datatracker.ietf.org/doc/html/rfc7946 |
DeleteGeometry
Supprime une forme géométrique via son id AzureMaps.
procedure DeleteGeometry(GeometryId: Guid)
Parameters
| Name | Type | Description |
|---|---|---|
| GeometryId | Guid |