internal async Task RenderLines(GeoCoordinates routeStart, GeoCoordinates routeEnd, GeoCoordinates[] pointsInRoute) { var module = await this.moduleTask.Value; await module.InvokeVoidAsync("RenderLine", routeStart, routeEnd, pointsInRoute ); }
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); }