Ejemplo n.º 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));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Checks whether the given feature is in the collection.
 /// </summary>
 /// <param name="feature"></param>
 /// <returns></returns>
 public Task <bool> Contains(Data.Feature feature)
 {
     return(_jsRuntime.InvokeWithDefinedGuidAndMethodAsync <bool>(
                "googleMapDataJsFunctions.invoke",
                _guid.ToString(),
                "contains",
                feature));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// moves the effect of previous overrideStyle() calls.
 /// The style of the given feature reverts to the style specified by setStyle().
 /// </summary>
 /// <param name="feature"></param>
 /// <returns></returns>
 public Task RevertStyle(Data.Feature feature = null)
 {
     return(_jsRuntime.InvokeWithDefinedGuidAndMethodAsync <object>(
                "googleMapDataJsFunctions.invoke",
                _guid.ToString(),
                "revertStyle",
                feature));
 }
Ejemplo n.º 4
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));
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Checks whether the given feature is in the collection.
 /// </summary>
 /// <param name="feature"></param>
 /// <returns></returns>
 public Task <bool> Contains(Data.Feature feature)
 {
     return(_jsObjectRef.InvokeAsync <bool>(
                "contains",
                feature));
 }
Ejemplo n.º 6
0
 /// <summary>
 /// moves the effect of previous overrideStyle() calls.
 /// The style of the given feature reverts to the style specified by setStyle().
 /// </summary>
 /// <param name="feature"></param>
 /// <returns></returns>
 public Task RevertStyle(Data.Feature feature = null)
 {
     return(_jsObjectRef.InvokeAsync(
                "revertStyle",
                feature));
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Removes a feature from the collection.
 /// </summary>
 /// <param name="feature"></param>
 /// <returns></returns>
 public Task Remove(Data.Feature feature)
 {
     return(_jsObjectRef.InvokeAsync(
                "remove",
                feature));
 }