Exemplo n.º 1
0
        public async Task <Circle> CreateAndAddToMap(LatLng latLng, Map map, CircleOptions options)
        {
            Circle circle = await this.Create(latLng, options);

            await circle.AddTo(map);

            return(circle);
        }
Exemplo n.º 2
0
        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));
        }