public async Task <object> Open(MarkupString htmlContent, ILocationable locationable) { return(await jSRuntime.InvokeAsync <object>( "blazorGoogleMap.openInfoWindow", string.Empty, locationable, htmlContent.ToString())); }
public double GetDistance(ILocationable structure) { return(Math.Sqrt(Math.Pow((X() - structure.X()), 2) + Math.Pow((Y() - structure.Y()), 2))); }
public async Task <object> Open(string infoWindowId, ILocationable locationable = null) { return(await jSRuntime.InvokeAsync <object>( "blazorGoogleMap.openInfoWindow", infoWindowId, locationable)); }
public double GetDistance(ILocationable structure) { return(Math.Sqrt((this.X() - structure.X()) * (this.X() - structure.X()) + ((this.Y() - structure.Y()) * (this.Y() - structure.Y())))); }