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 ASP.NET Core Maps library is a geographical data visualization tool 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 more.


Why choose Syncfusion ASP.NET Core Maps library?

ASP.NET Core Maps customization.

Easy to customize

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

ASP.NET Core 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.

ASP.NET Core 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.

ASP.NET Core Maps multilayers.

Multiple geometric layers

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

ASP.NET Core Maps adaptive layout.

Adapts to any resolution

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

ASP.NET Core Maps projection.

Custom projections

The ASP.NET Core Maps component supports Mercator, Equirectangular, Miller, Eckert 3, Eckert 5, Eckert 6, Winkel 3, and Aitoff projections.

ASP.NET Core Maps zooming.

Zooming and panning

Zooming and panning in ASP.NET Core 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.

ASP.NET Core Maps globalization.

Globalization and localization

An internationalization 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.


ASP.NET Core Maps code example

Easily get started with ASP.NET Core Maps using a few simple lines of CSHTML and C# code, as demonstrated below. Also explore our ASP.NET Core Maps example that shows you how to render maps.

@{
    var data = new[] {
       new {Country= "China", Membership= "Permanent", Color= "#feb24c" },
       new {Country= "United States", Membership= "Permanent", Color= "#feb24c" },
       new {Country= "United Kingdom", Membership= "Permanent", Color= "#feb24c" },
       new {Country= "Germany", Membership= "Permanent", Color= "#feb24c" },
       new {Country= "Italy", Membership= "Permanent", Color= "#feb24c" },
       new {Country= "India", Membership= "Permanent", Color= "#feb24c" },
       new {Country= "Australia", Membership= "Permanent", Color= "#feb24c" },
       new {Country= "Japan", Membership= "Permanent", Color= "#feb24c" },
       new {Country= "France", Membership= "Permanent", Color= "#feb24c" },
       new {Country= "Russia", Membership= "Permanent", Color= "#feb24c" },
       new {Country= "Kazakhstan", Membership= "Non-Permanent", Color= "#f03b20" },
       new {Country= "Poland", Membership= "Non-Permanent", Color= "#f03b20" },
       new {Country= "Sweden", Membership= "Non-Permanent", Color= "#f03b20" },
       new {Country= "South Africa", Membership= "Non-Permanent", Color= "#f03b20" }
    };
}

@using Syncfusion.EJ2.Maps;
<ejs-maps id="maps">
    <e-maps-layers>
        <e-maps-layer shapeData="ViewBag.worldmap" shapeDataPath="Country" shapePropertyPath='new[] { "name" }' dataSource="data">
            <e-layersettings-shapesettings colorValuePath="Color" fill='#E5E5E5'></e-layersettings-shapesettings>
        </e-maps-layer>
    </e-maps-layers>
</ejs-maps>
using ApplicationName.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace ApplicationName.Controllers
{
    public class HomeController : Controller
    {
        public IActionResult Index()
        {
            ViewBag.worldmap = GetWorldMap();
            return View();
        }
        public object GetWorldMap()
        {
            string allText = System.IO.File.ReadAllText("./wwwroot/WorldMap.json");
            return JsonConvert.DeserializeObject(allText);
        }
    }
}

GeoJSON layer

Bind GeoJSON data to the maps to render any geometric shape in SVG (Scalable Vector Graphics) to visualize data. For example, render the world map or US map and customize it to the desired look using built-in options in the ASP.NET Core Maps component. Add any number of layers to the maps.

ASP.NET Core Maps library binding GeoJSON data.


ASP.NET Core Maps rendered with geometry types over an OpenStreetMap map.

Geometry types

GeoJSON data contains geometry objects with properties such as geometry types and coordinates. The geometry types are the values present in the geometry objects of the GeoJSON data that specify the type of shape to be rendered, along with the coordinates that help draw the shape’s boundary line. 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, is used to visualize satellite, aerial, and street maps, or other kinds of imagery tiles without any external shape inputs. In addition to Bing Maps and OpenStreetMap, users can also render maps from various map providers, for example, Google Maps Tile API, TomTom, Mapbox, and Esri’s ArcGIS. By using these external services, map data can be located easily.

ASP.NET Core Maps library geo-imagery visuals.


ASP.NET Core Maps with multiple layers.

Multi-layers

Using sublayers, an ASP.NET Core Map can be created with multiple geometric layers in a single view. For example, render additional geographic features of a country such as rivers, valleys, and more as sublayers. You can also drill down in each layer.


Marker

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

ASP.NET Core Maps with multiple markers.


ASP.NET Core Maps rendered with marker clustering option.

Marker clustering

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


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.

ASP.NET Core Maps with marker drag and drop option.


ASP.NET Core Maps is rendered with polygon.

Polygons

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


Data labels

Data labels on maps provide identification for the shapes by displaying their names. Trim or hide the labels at intersections with other labels and when they exceed shape bounds.

ASP.NET Core Maps with data labels.


Multiple bubbles rendered in ASP.NET Core Maps.

Bubble

Create a simple map with bubbles to represent 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.


Denote flight routes or ship routes between two places on a geographic map with connector lines. The lines can also be curved.

ASP.NET Core Maps rendered with navigation lines.


Color mapping

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

Range color mapping applied to shapes in ASP.NET Core Maps.

Range color mapping

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

Equal color mapping applied to shapes in ASP.NET Core Maps.

Equal color mapping

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

Desaturation color mapping applied to the shapes in ASP.NET Core Maps.

Desaturation color mapping

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

Desaturation color mapping with multiple colors are applied to the shapes in ASP.NET Core Maps.

Desaturation with multiple colors

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


Legend

Legends provide valuable information for interpreting the map with various colors, shapes, or other identifiers based on data and application needs. The ASP.NET Core Maps component supports two types of legends: default and interactive.

ASP.NET Core Maps rendered with default legend items.

Default

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

ASP.NET Core Maps rendered with interactive legend.

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. Also change the zoom level of the initial rendering.

Zooming and panning enabled in ASP.NET Core Maps.


Displays a tooltip on moving mouse over the ASP.NET Core Maps.

Tooltip

The tooltip displays details about the shape value on mouse hover. Tooltips are also displayed for markers and bubbles on a map.


Drill down

Drill down in rendered ASP.NET Core Maps to display different shape data located on another layer. For example, the initial layer may render the world map and on clicking a particular continent, the continent alone will render separately on another layer.

ASP.NET Core Maps rendered with multiple layers and enabled drill-down option.


Specific shape selected in the rendered ASP.NET Core Maps.

Selection and highlight

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


Custom shapes

Create an ASP.NET Core Map with custom shapes by rendering personalized GeoJSON data to indicate building infrastructure, points of interest, flight seat arrangement, sports stadiums, and more.

Bus seat selection simulated in ASP.NET Core Maps.


ASP.NET Core Maps rendered with an annotation that displays a compass image.

Annotation

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 annotation. You can also add multiple annotations to a map.


Projection

Change the projection of the default rendering map based on your requirements. The ASP.NET Core Maps component supports various types of projections, namely Mercator, Equirectangular, Miller, Eckert 3, Eckert 5, Eckert 6, Winkel 3, and Aitoff.


ASP.NET Core Maps rendered with title and subtitle.

Title and subtitle

Add a title and subtitle to visualize additional information in ASP.NET Core Maps. Fonts and alignment of the title and subtitle can also be customized.


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 ASP.NET Core Maps are customizable. This component also provides built-in palettes with customizable options by default.

ASP.NET Core Map rendered with customized appearance.


State persistence with ASP.NET Core 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 ASP.NET Core Maps to save a local copy for further use.

Export ASP.NET Core Maps illustration.

Export

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

Print ASP.NET Core Maps illustration.

Print

Print the rendered ASP.NET Core Maps directly from the browser.


Accessibility

Keyboard navigation in ASP.NET Core Maps Library.

Keyboard navigation

The ASP.NET Core 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.

Accessibility in ASP.NET Core Maps library.

Accessibility

The ASP.NET Core 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

Maps is also available in Blazor, Angular, React, Vue, and JavaScript frameworks. Check out the different Maps platforms from the following links:

Supported browsers

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

Supported browsers in ASP.NET Core Maps Library.

85+ ASP.NET CORE UI CONTROLS

Frequently Asked Questions

  • Render geometric or custom shapes using the GeoJSON data.
  • Render maps from map providers like Bing Maps, OpenStreetMap, and Google Maps.
  • Add markers on maps at the specified latitude and longitude.
  • Fast-paced performance on zooming and panning with elegant animation.
  • One of the best ASP.NET Core Maps components on the market, offering a feature-rich UI to interact with the software.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Touch-friendly and responsive.
  • Expansive learning resources such as demos and documentation help you learn quickly and get started with ASP.NET Core Maps fast.

We do not sell the ASP.NET Core Maps separately. It is only available for purchase as part of the Syncfusion ASP.NET Core suite, which contains over 85 ASP.NET Core components, including Maps. A single developer license for the Syncfusion Essential Studio for ASP.NET Core suite costs $995.00 USD, including one year of support and updates. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.

You can find our ASP.NET Core Maps Library demo, which demonstrates how to render and configure the Maps component.

No, our 85+ ASP.NET Core components, including Maps, are not sold individually, only as a single package. 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 85+ ASP.NET Core components for a flat fee of $995/developer. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team 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 also 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