Blazor Displaying Imagery from Azure Maps

    The Blazor AzureMapsMapImagery is geographic imagery mapping service provided by Microsoft®. It provides several styles of geographic imagery tiles of the world. This geographic imagery service is accessible directly on the www.azure.microsoft.com web site. The Ignite UI for Blazor map component can display geographic imagery from Azure Maps in the map’s background content using the AzureMapsMapImagery class.

    Blazor Displaying Imagery from Azure Maps Example

    Code Snippet

    The following code snippet shows how to display geographic imagery tiles from Azure Maps in Blazor IgbGeographicMap using AzureMapsMapImagery class.

    Properties

    The following table summarized properties of the AzureMapsMapImagery class:

    Property Name Property Type Description
    ApiKey string Represents the property for setting an API key required for the Azure Maps imagery service. You must obtain this key from the azure.microsoft.com website.
    ImageryStyle AzureMapsImageryStyle Represents the property for setting the Azure Maps imagery tiles map style. This property can be set to the following AzureMapsImageryStyle enumeration values:
    • Aerial - Specifies the Aerial map style without road or labels overlay
    • LabelsRoad - Specifies the Aerial map style with road and labels overlay
    • Road - Specifies the Roads map style without Aerial overlay
    AzureImageryRestUri string Represents the property for setting the Azure Imagery REST URI specifying where the TilePath and SubDomains will come from. This is an optional property, and if not specified it will use the default REST URI.
    CultureName string Represents a property for setting the culture name for the tile source.
    IsDeferredLoad boolean Represents the property that specifies whether or not the Azure Maps service should auto-initialized upon the assignment of valid property values.
    IsInitialized boolean Represents the property that is set to True occurs when geographic imagery tiles from Azure Maps service have been initialized and they are ready for rendering in the map component.
    SubDomains SubDomainsCollection Represents an image collection of URI sub domains
    TilePath string Represents a property that sets the map tile image URI, this is the actual location of the Azure Maps

    API References