Пример #1
0
 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));
 }
Пример #2
0
 public Task UpdatePushpinOptions(string mapId, string pushpinId, PushpinOptions pushpinOptions)
 {
     JSRuntime.Current.InvokeAsync <object>("rpedrettiBlazorComponents.bingMaps.pushpin.updateOptions", mapId, pushpinId, pushpinOptions);
     return(Task.CompletedTask);
 }