Blazor Map Overview

    The Ignite UI for Blazor map component allows you to display data that contains geographic locations from view models or geo-spatial data loaded from shape files on geographic imagery maps.

    Blazor Map Example

    The following sample demonstrates how display data in IgbGeographicMap using IgbGeographicProportionalSymbolSeries also known as Bubble Series.

    The map component allows you to render geographic imagery from Bing Maps™, and Open Street Maps. The map provides plotting of tens of thousands of data points, and updates them every few milliseconds so that the control can handle your real-time feeds.

    The map's Series property is used to support rendering an unlimited number of geographic series. This property is a collection of geographic series objects and any type of geographic series can be added to it. For example, IgbGeographicSymbolSeries can be added for plotting geographic locations such as cities and the IgbGeographicPolylineSeries for plotting connections (e.g. roads) between these geographic locations.

    The map provides customizable navigation behaviors for navigating map content using mouse, keyboard, or code-behind.

    Required Modules

    The IgbGeographicMap requires the following modules, however the DataChartInteractivityModule is only required for mouse interactions, such as panning and zooming the map content.

    IgbGeographicMapModule.Register(IgniteUIBlazor);
    IgbDataChartInteractivityModule.Register(IgniteUIBlazor);
    

    Usage

    Now that the map module is imported, next step is to create geographic map. The following code demonstrates how to do this and enable zooming in the map.

    <IgbGeographicMap Height="100%" Width="100%" Zoomable="true" />
    

    Additional Resources

    You can find more information about related Blazor map features in these topics:

    API Members

    The following is a list of API members mentioned in the above sections: