Skip to content

A quick-start project that contains code to add and customize legends in the Syncfusion React Maps component. This project also contains code to configure a few of the legend's customizations, like changing the legend mode, position, alignment, shape and applying color from the datasource.

SyncfusionExamples/how-to-add-legends-to-the-react-maps-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Add Legends to the React Maps Component

A quick-start project that contains code to add and customize legends in the Syncfusion React Maps component. This project also contains code to configure a few of the legend’s customizations, like changing the legend mode, position, alignment, shape and applying color from the datasource.

Refer to the following documentation to learn about the React Maps component: https://ej2.syncfusion.com/react/documentation/maps/legend

Check out this online example of the React Maps component: https://ej2.syncfusion.com/react/demos/#/material/maps/legend

Project prerequisites

Make sure that you have the compatible versions of Visual Studio Code and NodeJS or later version in your machine before starting to work on this project.

How to run this application

To run this application, you need to first clone the how-to-add-legends-to-the-react-maps-component repository and then open it in Visual Studio Code. Now, simply build and run your project to view the output.

About

A quick-start project that contains code to add and customize legends in the Syncfusion React Maps component. This project also contains code to configure a few of the legend's customizations, like changing the legend mode, position, alignment, shape and applying color from the datasource.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages