public async Task <List <BingMapPushpin> > GetPushpins(int ammount, LocationRectangle bounds = null, PushpinOptions options = null) { return(await JSRuntime.InvokeAsync <List <BingMapPushpin> >("rpedrettiBlazorComponents.bingMap.devTools.getPushpins", ammount, bounds, options)); }
public Task UpdatePushpinOptions(string mapId, string pushpinId, PushpinOptions pushpinOptions) { JSRuntime.Current.InvokeAsync <object>("rpedrettiBlazorComponents.bingMaps.pushpin.updateOptions", mapId, pushpinId, pushpinOptions); return(Task.CompletedTask); }