Beispiel #1
0
 public InfoBox(Geocoordinate center, InfoboxOptions options, string id)
 {
     Id     = Guid.NewGuid().ToString();
     Center = center;
     JSRuntime.Current.InvokeAsync <object>(_infoboxRegister, Id, center, options);
     thisRef = new DotNetObjectRef(this);
 }
Beispiel #2
0
 public async Task Options(InfoboxOptions options)
 {
     if (SetParameter(ref _options, options))
     {
         await JSRuntime.Current.InvokeAsync <object>(_infoboxSet + nameof(Options), Id, options);
     }
 }
Beispiel #3
0
 public InfoBox(Geocoordinate center, InfoboxOptions options) : this(center, options, Guid.NewGuid().ToString())
 {
 }