コード例 #1
0
 internal async Task RenderLines(GeoCoordinates routeStart, GeoCoordinates routeEnd, GeoCoordinates[] pointsInRoute)
 {
     var module = await this.moduleTask.Value;
     await module.InvokeVoidAsync("RenderLine",
                                  routeStart,
                                  routeEnd,
                                  pointsInRoute
                                  );
 }
コード例 #2
0
 internal async Task SearchRoute(string mapControlId, AzureMapsControlConfiguration mapOptions,
                                 GeoCoordinates startingPoint, GeoCoordinates finalPoint, GeoCoordinates[] pointsInRoute)
 {
     var module = await this.moduleTask.Value;
     await module.InvokeVoidAsync("SearchRoute", mapControlId, mapOptions, startingPoint, finalPoint, pointsInRoute);
 }