Exemple #1
0
 /// <summary>
 /// Changes the style of a feature. These changes are applied on top of the style specified by setStyle().
 /// Style properties set to null revert to the value specified via setStyle().
 /// </summary>
 /// <param name="feature"></param>
 /// <param name="style"></param>
 /// <returns></returns>
 public Task OverrideSytle(Data.Feature feature, Data.StyleOptions style)
 {
     return(_jsObjectRef.InvokeAsync(
                "overrideSytle",
                feature,
                style));
 }
Exemple #2
0
 /// <summary>
 /// Changes the style of a feature. These changes are applied on top of the style specified by setStyle().
 /// Style properties set to null revert to the value specified via setStyle().
 /// </summary>
 /// <param name="feature"></param>
 /// <param name="style"></param>
 /// <returns></returns>
 public Task OverrideSytle(Data.Feature feature, Data.StyleOptions style)
 {
     return(_jsRuntime.InvokeWithDefinedGuidAndMethodAsync <object>(
                "googleMapDataJsFunctions.invoke",
                _guid.ToString(),
                "overrideSytle",
                feature,
                style));
 }