We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Blazor Map component is ideal for rendering map from GeoJSON data or other map providers like OpenStreetMap, Google Maps, Bing Maps, etc. Its rich feature set includes markers, labels, bubbles, navigation lines, legends, tooltips, zooming, panning, drill down, and much more.


Why choose Syncfusion Blazor Maps Library?

Blazor Maps customization

Easy to customize

To visualize a geometric shape in SVG format in Maps, you can bind GeoJSON data to it. It’s light and simple to read. You can render a world map or a U.S. map and alter it with the Blazor Maps control’s built-in options to achieve the required layout.

Blazor Maps Geospatial imaging

Geospatial imaging services

Works with services like Google Maps, Bing maps and OpenStreetMap to view satellite, aerial, and street maps by locating map data quickly without the use of any external shape inputs.

Blazor Maps marker and bubbles

Markers and bubbles

Markers are notes on maps that indicate specific latitude and longitude points using symbols. Bubbles are used to convey additional information about shapes such as population density and land area. Circle and square bubbles are available.

Blazor Maps multiple layers

Multiple geometric layers

A Map with several geometric layers in a single view can be generated with sub layers. You can render the geographic elements of a country, such as rivers and valleys, as a sublayer. Each layer can be drilled.

Blazor Maps adaptive layout

Adapts to any resolution

Maps has a highly responsive layout and an optimized design for desktops, touchscreens, and smart phones. It works well on all mobile phones that use iOS, Android, or Windows OS.

Blazor Maps projections

Custom projections

The Blazor Maps component supports Mercator, rectangular, Miller, Eckert3, Eckert5, Eckert6, and Winkel3 projections.

Blazor Maps zooming

Zooming and panning

Zooming and panning in Blazor Maps are fast. Zoom the map by scrolling the mouse wheel, clicking the shapes, or using the zooming toolbar. Pan the map to navigate among regions easily.

Blazor Maps Globalization

Globalization and localization

An Internalization library is used to globalize number, date, and time values in Maps. All the strings used in the Maps user interface can be localized by users as needed. Localizing UI strings involves using the localization (l10n) library.


Blazor Map Code Example

Easily get started with the Blazor Map using a few simple lines of C# code as demonstrated below. Also explore our Blazor Map Example that shows you how to render and configure the Map.

@using Syncfusion.Blazor.Maps

<SfMaps>
    <MapsLayers>
        @*To map shape data name field and data source field*@
        <MapsLayer ShapeData='new {dataOptions= "https://cdn.syncfusion.com/maps/map-data/world-map.json"}'
                   ShapePropertyPath='new string[] {"name"}'
                   DataSource="SecurityCouncilDetails"
                   ShapeDataPath="Name" TValue="UNCouncilCountry">
        </MapsLayer>
    </MapsLayers>
</SfMaps>

@code {
    private List<UNCouncilCountry> SecurityCouncilDetails = new List<UNCouncilCountry>{
         new UNCouncilCountry { Name= "China", Membership= "Permanent"},
         new UNCouncilCountry { Name= "France", Membership= "Permanent" },
         new UNCouncilCountry { Name= "Russia", Membership= "Permanent"},
         new UNCouncilCountry { Name= "United States", Membership= "Non-Permanent"},
         new UNCouncilCountry { Name= "United Kingdom", Membership= "Non-Permanent"},
    };

    public class UNCouncilCountry
    {
        public string Name { get; set; }
        public string Membership { get; set; }
    };
}

GeoJSON layer

Bind GeoJSON data to the map to render any geometric shape in SVG (Scalable Vector Graphics) for data visualization of shapes. For example, render the world map or US map and customize it to the desired look using built-in options in the Blazor Map component. Add any number of layers to the map.

Blazor Map Bind GeoJSON data


Blazor Map is rendered with geometry types over OSM map

Geometry types

The geometry types are shapes with straight lines and angles symbolizing structure and order. Coordinates are used to locate a specific point on a grid, known as a coordinate plane. Polygon, MultiPolygon, LineString, MultiLineString, Point, MultiPoint, and GeometryCollection are the supported geometry types.


Geo-imagery visuals

Built-in support for external geospatial imagery services, such as Bing Maps and OpenStreetMap, to visualize satellite, aerial, and street maps, or other kinds of imagery tiles without any external shape inputs. Apart from Bing Maps and OpenStreetMap, users can also render Blazor Map from various map providers, for example, Google Maps Tile API, TomTom, Mapbox, Esri’s ArcGIS, etc. By using these external services, map data can be located easily.

Blazor Map Geo imagery visuals


Blazor Map is rendered with multiple layers

Multi-layers

Using the sublayer, create a map with multiple geometric layers in a single view. For example, render additional geographic features of a country such as rivers, valleys, and more as a sublayer. You can also drill each layer.


Marker

Denote a place with symbols or mark messages at the desired latitude and longitude of a location on a map using markers. For example, indicate a particular place on the map of US using a balloon marker shape. Place any HTML element as a marker and also add multiple markers to the map.

Blazor Map is rendered with multiple markers


Blazor Map is rendered with marker clustering option

Marker clustering

Display multiple markers in the same location by clustering the markers when they overlap one another. For example, you can use markers to indicate the top 50 cities in the world. If a marker overlaps another, it will be clustered and the total number of markers will be displayed over the cluster.


Data labels

Data labels enable users to identify the shapes by displaying their names. Trim or hide labels at intersections with other labels and when they exceed shape bounds.

Blazor Map is rendered with data labels, which displays the name of the shapes


Blazor Map is rendered with multiple bubbles

Bubble

Create a simple Blazor Map control with bubbles to provide additional information about shapes such as population density, land area, and more. Bubbles are rendered with various magnitudes and colors based on the underlying data values of the shape.


Represent flight route or ship route on a geographic map between two places with navigation lines. It also acts as the connector line that links points on a map. The navigation lines can also be curved.

Blazor Map is rendered with navigation lines


Color mapping

Categorize the shapes on a map by customizing their color based on the underlying value. The Blazor Map with a rich UI supports two types of color mapping: range color mapping and equal color mapping.

Range color mapping is applied to the shapes in Blazor Map

Range color mapping

Apply colors to shapes by comparing their values with a desired numeric range. For example, apply colors to the states in the US based on population density.

Equal color mapping is applied to the shapes in Blazor Map

Equal color mapping

Differentiate a shape’s fill based on its underlying value and color, using equal color mapping. For example, apply colors to the states in the US based on a winning candidate.

Desaturation color mapping is applied to shapes in Blazor Map

Desaturation color mapping

Change the opacity of the shapes by comparing their value with a desired numeric range. Minimum and maximum opacity of shapes can be customized.

Desaturation color mapping with multiple colors are applied to shapes in Blazor Map

Desaturation with multiple colors

Apply colors to the shape from a gradient by comparing their value with a desired numeric range. Any number of colors can be specified for creating the gradient.


Legend

Users can use legends to provide valuable information for interpreting the map with various colors, shapes, or other identifiers based on data and application needs. The interactive Blazor Map control supports two types of legends: default and interactive.

Blazor Map is rendered with default legend items

Default

A map with a legend contains swatches of symbols with descriptions to denote the categories of shapes.

Blazor Map is rendered with interactive legends

Interactive

Use a map with an interactive legend to find the range of an underlying shape’s value on mouse hover.


Zooming and panning

Zoom the map for close-up analysis by pinching the map, scrolling the mouse wheel, clicking the shapes, or by using zooming toolbar; and pan the map for easy navigation across regions. You can also change the zoom level of the initial rendering.

Zooming and panning is enabled in the Blazor Map


Display a tooltip by hovering over the Blazor Map

Tooltip

Display a tooltip with details about the shape value on mouse hover. Similarly, the tooltip is also displayed for markers and bubbles on a map.


Drill-down

Users can drill-down the rendered Blazor Map to display a different shape data located on another layer. For example, in the initial layer you can render the world map and on clicking a particular continent, render it separately on another layer.

Blazor Map is rendered with multiple layers with drilldown option enabled


Particular shape is selected in the rendered Blazor Map

Selection and highlight

Select a particular shape on mouse click and highlight on mouse hover to bring it into focus.


Custom shapes

Create a map with custom shapes by rendering your own GeoJSON data to indicate building infrastructure, points of interest, flight/bus seat arrangement, cricket stadium, and more useful information.

Bus seat selection is simulated in the Blazor Map


Blazor Map is rendered with an annotation with direction compass image

Annotation

Display any HTML element as an annotation at a specific point of interest on a map. For example, place a direction compass image on the map using annotation. You can also add multiple annotations to a map.


Projection

You can change the projection of the default rendering map based on your need. The Blazor Map component supports various types of projections namely, Mercator, Rectangular, Miller, Eckert3, Eckert5, Eckert6, and Winkel3.


Blazor Map is rendered with title and subtitle

Title and subtitle

Add title and subtitle to visualize additional information on the Blazor Map. You can also customize the font and alignment of the title and subtitle.


Appearance

Customize the look and feel of a map by changing the fill color, background, border, and opacity of shapes. Almost all the elements in the Blazor Map are customizable. It provides built-in palettes with customizable options, by default.

Blazor Map is rendered with customized appearance


State persistence with Blazor Maps Library

State persistence

State persistence allows the Maps component to maintain state by storing the most recent model value in browser cookies. When the appropriate setting is enabled, some of the Maps component model values are preserved even after the page is refreshed.


Exporting

Export or print the rendered Blazor Map to save a local copy for further use.

Export Blazor Map illustration

Export

Export the Blazor Map to a PDF document or in image formats such as SVG, PNG, and JPEG in client-side.

Print Blazor Map illustration

Print

Prints the rendered Blazor Map directly from the browser.


Accessibility

Keyboard navigation in Blazor Maps Library

Keyboard Navigation

The Blazor Maps library ensures that every element is keyboard accessible. Major features like zooming, panning, shape selection, legend, and drill down can be performed using just keyboard shortcuts, no mouse interaction required. This helps in creating highly accessible applications using this component.

Accessibility in Blazor Maps Library

Accessibility

The Blazor Maps library has complete WAI-ARIA accessibility support. The Maps UI includes high-contrast visual elements that help visually impaired people have the best viewing experience. Also, valid UI descriptions are easily accessible through assistive technologies such as screen readers.





Other supported frameworks

Map is also available in JavaScript, Angular, React, and Vue frameworks that are built from their own TypeScript libraries. Check out the different Map platforms from the links below,

Supported browsers

The Blazor Maps Library works well with all modern web browsers such as Chrome, Firefox, Microsoft Edge, Safari, and Opera.

Supported browsers

Blazor Components – 80+ UI and DataViz Components

Frequently Asked Questions

  • Render geometric or custom shapes using the GeoJson data.
  • Render map from the map providers like Bing, OSM, and Google Maps.
  • Add markers on map at the specified latitude and longitude.
  • Fast-paced performance on zooming and panning with elegant animation.
  • One of the best Blazor Map in the market that offers a feature-rich UI to interact with the software.
  • Simple configuration and APIs.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive.
  • Extensive demos, documentation and videos to learn quickly and get started with Blazor Map.

You can find our Blazor Map demo, which demonstrates how to render and configure Maps component.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version Download Free Trial

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile