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
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Blazor Maps component is ideal for rendering maps 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 the 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

Maps 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 sublayer. 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, tablets, and 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 Maps code example

Easily get started with Blazor Maps using a few simple lines of C# code, as demonstrated. Also explore our Blazor Maps example, which shows you how to render and configure the Maps component.

@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 a map to render any geometric shape in SVG (scalable vector graphics) format to visualize data with shapes. For example, render the world map or U.S. map and customize it to the desired look using built-in options in the Blazor Maps component. Add any number of layers to the map.

Blazor Maps bind GeoJSON data.


Blazor Maps is rendered with geometric types over OSM map.

Geometric types

Geometric 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 geometric types.


Shapefile

A shapefile (*.shp), similar to GeoJSON, is a vector data storage format that stores the location, shape, and attributes of a geographic location. You can render any geographical map or custom map and customize it using the built-in options in the Blazor Maps component.

Blazor Maps is rendered with shapefile.


Blazor Maps geo-imagery visuals.

Geo-imagery visuals

Built-in support for external geospatial imagery services, such as Bing Maps and OpenStreetMap, let you visualize satellite, aerial, and street maps, or other kinds of imagery tiles without any external shape inputs. You can render maps from map providers like Google Map Tiles API, TomTom, Mapbox,and Esri’s ArcGIS. By using these external services, map data can be located easily.


Multilayers

Create a map with multiple geometric layers in a single view by using sublayer. For example, you can render the geographic features of a country such as rivers and valleys as a sublayer. You can also drill down in each layer.

Blazor Maps is rendered with multiple layers.


Blazor Maps is rendered with multiple markers.

Markers

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


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.

Blazor Maps is rendered with marker clustering option.


Blazor Maps with marker drag and drop option.

Marker drag and drop

Drag and drop markers to reposition them in maps. After dragging and dropping markers, the marker data source and elements such as marker shape, color, legend, and tooltip content can be changed using supported events.


Polygons

Polygons can be displayed over a shape layer or an online map to highlight a specific region.

Blazor Maps is rendered with polygons.


Blazor Maps is rendered with data labels that display the names of the shapes.

Data labels

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


Bubbles

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

Blazor Maps is rendered with multiple bubbles.


Blazor Maps is rendered with navigation lines.

Represent flight or ship routes between two places on a geographic map with navigation lines. They also act as the connector line that links points on a map. Navigation lines can also be curved.


Color mapping

Categorize the shapes on a map by customizing their color based on the underlying values. The Blazor Maps component supports three types of color mapping: range color mapping, equal color mapping, and desaturation color mapping.

Range color mapping is applied to the shapes in Blazor Maps.

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 U.S. based on population density.

Equal color mapping is applied to the shapes in Blazor Maps.

Equal color mapping

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

Desaturation color mapping is applied to shapes in Blazor Maps.

Desaturation color mapping

Change the opacity of the shapes by comparing their values 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 Maps.

Desaturation with multiple colors

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


Legends

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 Maps control supports two types of legends: default and interactive.

Blazor Maps is rendered with default legend items.

Default

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

Blazor Maps 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. 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 Maps.


Display a tooltip by hovering over Blazor Maps.

Tooltip

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


Drill down

Users can drill down the rendered Blazor Maps to display 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 that separately on another layer.

Blazor Maps is rendered with multiple layers with drill-down option enabled.


Particular shape is selected in the rendered Blazor Maps.

Selection and highlight

Select a particular shape on mouse click or highlight on mouse hover to bring the focus to shapes on a map.


Custom shapes

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

Bus seat selection is simulated in the Blazor Maps.


Blazor Maps is rendered with an annotation with compass image.

Annotations

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


Projection

You can change the projection of the default rendered map. The Blazor Maps component supports Mercator, rectangular, Miller, Eckert3, Eckert5, Eckert6, and Winkel3 projections.


Blazor Maps is rendered with title and subtitle.

Title and subtitle

Add a title and subtitle to provide additional information about the 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 Blazor Maps are customizable. It provides built-in palettes with customizable options by default.

Blazor Maps 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 Maps to save a local copy for further use.

Export Blazor Maps illustration.

Export

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

Print Blazor Maps illustration.

Print

Print the rendered Blazor Maps 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, and drill down can be performed using just keyboard shortcuts, no mouse interaction required. This helps in creating highly accessible applications.

Accessibility in Blazor Maps library.

Accessibility

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





Struggling to decide on the right product?

Our comprehensive competitor comparison of Blazor components will guide you to the perfect choice.

tick-mark 85+ UI components
tick-mark 960+ interactive Blazor demos
tick-mark 2M+ downloads
competitive-banner-FT-image

Other supported frameworks

Maps is also available in our JavaScript, Angular, React, and Vue frameworks, built from their own TypeScript libraries. Check out Maps on different platforms at the following links:

Supported browsers

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

Supported browsers in Blazor Maps.

Blazor Components – 85+ UI and DataViz Components

Frequently Asked Questions

  • Geometric or custom shapes can be rendered using GeoJSON data.
  • Maps render from map providers like Bing Maps, OSM, and Google Maps.
  • Markers can be added to a map at a specified latitudes and longitudes.
  • Fast zooming and panning performance and elegant animation.
  • Simple configuration and APIs.
  • Support for all modern browsers.
  • Touch-friendly and responsive UI.
  • Extensive demos, documentation, and videos to help you get started quickly with Blazor Maps.

We do not sell the Blazor Maps separately. It is only available for purchase as part of the Syncfusion team license. This contains over 1,800 components and frameworks, including the Blazor Maps. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

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

No, our 1,800+ components and frameworks for web, mobile, and desktop, including our Blazor Maps, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their Maps component alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

No, this is a commercial product and requires a paid license. However, a free Community License is available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

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 No credit card required.

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