Beispiel #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);
        }
Beispiel #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));
        }