Codeunit 70623630 EOS102 Azure Maps Mgt.
Codeunit 70623630 EOS102 Azure Maps Mgt.
Methods
GetConfigurationKeys
procedure GetConfigurationKeys(): List of [Text[250]]
Parameters / Return Value
- Returns
List[Text]
GetSecretConfigurationKeys
procedure GetSecretConfigurationKeys(): List of [Text[250]]
Parameters / Return Value
- Returns
List[Text]
Initialize
procedure Initialize(NewEOS004ServiceConfig: Record "EOS004 Service Config.")
Parameters / Return Value
- NewEOS004ServiceConfig
Record "EOS004 Service Config."
Initialize
procedure Initialize()
ClientID
procedure ClientID(): Text
Parameters / Return Value
- Returns
Text[]
ApiKey
procedure ApiKey(): Text
Parameters / Return Value
- Returns
Text[]
RetrieveCoordinates
procedure RetrieveCoordinates(var GeoLocation: Record "EOS092 GeoLocation"): Boolean
Parameters / Return Value
GeoLocation
Record "EOS092 GeoLocation"
Returns
Boolean
CalculateRoute
procedure CalculateRoute(GeoLocations: List of [Code[50]]; var Distance: Decimal; var TravelTime: Duration): Boolean
Parameters / Return Value
GeoLocations
List[Code]
Distance
Decimal
TravelTime
Duration
Returns
Boolean
OptimizeRoute
procedure OptimizeRoute(StartPointCode: Code[50]; EndPointCode: Code[50]; var GeoLocations: List of [Code[50]]; var Distance: Decimal; var TravelTime: Duration): Boolean
Parameters / Return Value
StartPointCode
Code[50]
EndPointCode
Code[50]
GeoLocations
List[Code]
Distance
Decimal
TravelTime
Duration
Returns
Boolean
GetRouteUrl
procedure GetRouteUrl(GeoLocations: List of [Code[50]]): Text
Parameters / Return Value
GeoLocations
List[Code]
Returns
Text[]
FormatCoord
procedure FormatCoord(Coordinate: Decimal): Text
Parameters / Return Value
Coordinate
Decimal
Returns
Text[]
Events
OnBeforeSelectTravelMode
local procedure OnBeforeSelectTravelMode(var TravelMode: Enum "EOS102 Travel Mode")
Integration event that is triggered before calculating the route.
Parameters / Return Value
TravelMode
Enum "EOS102 Travel Mode"
Specifies the travel mode to be used for the route calculation.
OnBeforeSelectRouteMap
local procedure OnBeforeSelectRouteMap(var RouteMap: Enum "EOS102 Route Map")
Integration event that is triggered before the selection of the map to open to visualize the route.
Parameters / Return Value
RouteMap
Enum "EOS102 Route Map"
Specifies the map to be opened to visualize the route.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.