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); }
internal async Task InitializeMap(string mapControlId, AzureMapsControlConfiguration mapOptions) { var module = await this.moduleTask.Value; await module.InvokeVoidAsync("InitMap", mapControlId, mapOptions); }