Codeunit 70623625 EOS102 Map Management

Codeunit 70623625 EOS102 Map Management

Methods

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


GetMapHandler

procedure GetMapHandler(): Interface "EOS102 IMapApiManagement"

Parameters / Return Value

  • Returns Interface "EOS102 IMapApiManagement"

IsMapServiceDefinded

procedure IsMapServiceDefinded(): Boolean

Parameters / Return Value

  • Returns Boolean

Events

OnBeforeGetMapHandler

local procedure OnBeforeGetMapHandler(var IsHandled: Boolean; var MapApiMgt: Interface "EOS102 IMapApiManagement")

Parameters / Return Value

  • IsHandled Boolean

  • MapApiMgt Interface "EOS102 IMapApiManagement"



EOS Labs -