dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components
ImageMediaInfoValue Class
The ImageMediaInfoValue
class contains information for popups regarding how images should be retrieved.
ArcGIS Maps SDK for JavaScript
public class ImageMediaInfoValue : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 ImageMediaInfoValue
Constructors
ImageMediaInfoValue() Constructor
Parameterless constructor for use as a Razor Component.
public ImageMediaInfoValue();
ImageMediaInfoValue(string, string) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public ImageMediaInfoValue(string? linkURL=null, string? sourceURL=null);
Parameters
linkURL
System.String
A string containing a URL to be launched in a browser when a user clicks the image.
ArcGIS Maps SDK for JavaScript
sourceURL
System.String
A string containing the URL to the image.
ArcGIS Maps SDK for JavaScript
Properties
ImageMediaInfoValue.LinkURL Property
A string containing a URL to be launched in a browser when a user clicks the image.
public string? LinkURL { get; set; }
Property Value
ImageMediaInfoValue.SourceURL Property
A string containing the URL to the image.
public string? SourceURL { get; set; }
Property Value
Methods
ImageMediaInfoValue.GetLinkURL() Method
Asynchronously retrieve the current value of the LinkURL property.
public System.Threading.Tasks.Task<string?> GetLinkURL();
Returns
System.Threading.Tasks.Task<System.String>
ImageMediaInfoValue.GetSourceURL() Method
Asynchronously retrieve the current value of the SourceURL property.
public System.Threading.Tasks.Task<string?> GetSourceURL();
Returns
System.Threading.Tasks.Task<System.String>
ImageMediaInfoValue.SetLinkURL(string) Method
Asynchronously set the value of the LinkURL property after render.
public System.Threading.Tasks.Task SetLinkURL(string? value);
Parameters
value
System.String
The value to set.
Returns
ImageMediaInfoValue.SetSourceURL(string) Method
Asynchronously set the value of the SourceURL property after render.
public System.Threading.Tasks.Task SetSourceURL(string? value);
Parameters
value
System.String
The value to set.