Esempio n. 1
0
        public async Task <CircleMarker> CreateAndAddToMap(LatLng latLng, Map map, CircleMarkerOptions options)
        {
            CircleMarker circleMarker = await this.Create(latLng, options);

            await circleMarker.AddTo(map);

            return(circleMarker);
        }
Esempio n. 2
0
        public async Task <CircleMarker> Create(LatLng latLng, CircleMarkerOptions options)
        {
            IJSObjectReference jsReference = await this.jsRuntime.InvokeAsync <IJSObjectReference>(create, latLng, options);

            return(new CircleMarker(jsReference, this.eventedJsInterop));
        }