public async Task <Circle> CreateAndAddToMap(LatLng latLng, Map map, CircleOptions options) { Circle circle = await this.Create(latLng, options); await circle.AddTo(map); return(circle); }
public async Task <Circle> Create(LatLng latLng, CircleOptions options) { IJSObjectReference jsReference = await this.jsRuntime.InvokeAsync <IJSObjectReference>(create, latLng, options); return(new Circle(jsReference, this.eventedJsInterop)); }