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