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 React 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 more.


GeoJSON layers

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

React Maps Library Bind GeoJSON data


React Maps is rendered with geometry type over OSM 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 to 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(OSM), is used 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 maps 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.

React Maps Library Geo imagery visuals


React Maps with multiple layers

Multiple layers

Using sublayer, a React 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 sublayer. You can also drill each layer.


Markers

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 map using a balloon marker shape. Also, place any HTML element as a marker and add multiple markers to a map.

React Maps with multiple markers


React Maps is rendered with marker clustering option

Marker clustering

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


Data label

Data labels on the map 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.

React Maps is rendered with data labels


React Maps is rendered with multiple bubbles

Bubbles

Create a simple React 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 shipping routes on a geographic map between two places. These connector lines link points on a map and can also be curved.

React Maps is rendered with navigation lines


Color mapping

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

Range color mapping is applied for the shapes in React Maps

Range color mapping

Apply colors to the 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 React Maps

Equal color mapping

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

Desaturation color mapping is applied to the shapes in React 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 is applied to the shapes in React Maps

Desaturation with multiple colors

Apply multiple 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.


Legend

Legends provide valuable information for interpreting the map with various colors, shapes, or other identifiers based on data and application needs. There are two types of legends: Default and Interactive.

React Maps is rendered with default legend items

Default

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

React Maps is rendered with interactive legend

Interactive

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


Zooming and panning

Zoom a React map for close-up analysis by pinching the map, scrolling the mouse wheel, clicking the shapes, or using the zooming toolbar. Pan the map for easy navigation across regions. Change the zoom level of the initial rendering.

Zooming and panning is enabled in the React Maps


Displays a tooltip on moving mouse over the React 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 the rendered React Maps to display a different shape data located on another layer. For example, in the initial layer render the world map and on clicking a particular continent, render it separately on another layer.

React Maps is rendered with multiple layers and enabled drill-down option


Particular shape is selected in the rendered React 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 a React Map with custom shapes by rendering personalized GeoJSON data to indicate building infrastructure, points of interest, flight/bus seat arrangement, cricket stadium, and more.

Bus seat selection is simulated in the React Maps


React Maps is rendered with annotation which has direction compass image

Annotations

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


Projection

Change the projection of the default rendering of a map. The React Maps component supports various types of projections: Mercator, Rectangular, Miller, Eckert3, Eckert5, Eckert6, and Winkel3.


React Maps component is rendered with title and subtitle

Title and subtitle

Add a title and subtitle to visualize additional information on React Maps component. Fonts and alignment of the title and subtitle can also be customized.


Appearance

Customize the look and feel of a React Map by changing the fill color, background, border, and opacity of shapes. Almost all the elements in the React Maps are customizable. This component also provides built-in palettes with customizable options, by default.

React Maps is rendered with customized appearance


Exporting

Export or print the rendered React Maps to save a local copy for further use.

Export React Maps illustration

Export

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

Print React Maps illustration

Print

Print the rendered React Maps directly from the browser.


Touch and Browser support

The interactive maps also supports touch interactions.

React Maps touch illustration

Touch support

All the features of React Maps work on touch devices with zero configuration. Use touch features such as tooltip, drill-down, selection, highlight, pinch zooming, single-tap zoom, and double-tap zoom without any customization.

React Maps responsive illustration

Responsive

View React Maps component on various devices. Hide specific elements in the maps for specific screen sizes by making very minimal changes in the map events.

React Maps component cross-browser illustration

Cross-browser support

Render React Maps component in all modern browsers.


React Maps Library code example

Easily get started with React Maps component using a few simple lines of TSX code, as demonstrated in the following. Also explore our React Maps Library example, which shows you how to render Maps in React.

import * as React from 'react';
import { world_map } from './world_map';
import { MapsComponent, LayersDirective, LayerDirective } from '@syncfusion/ej2-react-maps';

class App extends React.Component {
    render() {
        return (<MapsComponent id="maps">
                <LayersDirective>
                <LayerDirective shapeData={world_map} dataSource= {
                   [{ "Country": "China", "Membership": "Permanent", "Color": "#feb24c"},
                   { "Country": "United States", "Membership": "Permanent", "Color": "#feb24c"},
                   { "Country": "United Kingdom", "Membership": "Permanent", "Color": "#feb24c"},
                   { "Country": "Germany", "Membership": "Permanent", "Color": "#feb24c"},
                   { "Country": "Italy", "Membership": "Permanent", "Color": "#feb24c"},
                   { "Country": "India", "Membership": "Permanent", "Color": "#feb24c"},
                   { "Country": "Australia", "Membership": "Permanent", "Color": "#feb24c"},
                   { "Country": "Japan", "Membership": "Permanent", "Color": "#feb24c"},
                   { "Country": "France","Membership": "Permanent", "Color": "#feb24c" },
                   { "Country": "Russia","Membership": "Permanent", "Color": "#feb24c"},
                   { "Country": "Kazakhstan","Membership": "Non-Permanent", "Color": "#f03b20"},
                   {"Country": "Poland","Membership": "Non-Permanent", "Color": "#f03b20"},
                   { "Country": "Sweden","Membership": "Non-Permanent", "Color": "#f03b20"},
                   { "Country": "South Africa","Membership": "Non-Permanent", "Color": "#f03b20"}]} shapePropertyPath='name' shapeDataPath='Country' 
                   shapeSettings=>
            </LayerDirective>
        </LayersDirective>
    </MapsComponent>);
    }
}
export default App;

Other supported frameworks

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




70+ REACT UI COMPONENTS

Frequently Asked Questions

The Syncfusion React Maps component supports the following features:

  • GeoJSON data can be used to render geometric or custom shapes.
  • Ability to render maps from map providers like Bing, OpenStreetMap, and Google.
  • Markers can be added on maps at specified latitudes and longitudes.
  • Fast-paced performance on zooming and panning with elegant animation.
  • One of the best React Maps in the market that offers feature-rich UI to interact with the software.
  • Simple configuration and APIs.
  • Support for all modern browsers.
  • Mobile-friendly and responsive.
  • Expansive learning resources such as demos and documentation to learn quickly and get started with React Maps.

We do not sell React Maps separately. It is only available for purchase as part of the Essential Studio for React suite, which contains over 70 React components, including Maps. A single developer license for the Syncfusion Essential Studio for React 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 to see if you qualify for any additional discounts.

You can find our React Maps Library demo here.

No, our 70+ React 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 70+ React 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 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 and five or fewer developers.

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

Read independent,
authenticated reviews
on G2

Download Now Pricing

What do our customers say about us?

double quotes

We're using the file formats and Windows/JavaScript list controls a lot. They're fast, easy to use, and the documentation is good and contains examples. Tickets with questions or suggestions were answered within a day, so we're happy to use the Syncfusion libraries.
Daniel Persidok

Daniel Persidok

wpd onshore GmbH & Co. KG

double quotes

Using Syncfusion Angular and JavaScript controls makes front-end web development a piece of cake. Each component has many properties that can be configured as per your desire, methods that can be used to interact with the element, and a lot of events that trigger at different stages, which makes modifying your components according to the state of the application an easy task. Also, their support is amazing! They always offer a sample working project, which makes it very simple to solve your question about your code.
Carlos Rodriguez Garcia

Carlos Rodriguez Garcia

Vistatec

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