/how-to-add-legends-in-the-angular-maps-component

A quick-start Angular project that contains code to add and customize legends in the Syncfusion Angular 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.

Primary LanguageTypeScript

How to Add Legends to the Angular Maps Component

A quick-start Angular project that contains code to add and customize legends in the Syncfusion Angular 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 legend documentation on the Syncfusion Angular Maps component: https://ej2.syncfusion.com/angular/documentation/maps/legend

Check out this online example of the Angular Maps component with Legends: https://ej2.syncfusion.com/angular/demos/#/material/maps/legend

Watch the following video to get started with the Angular Maps component: https://www.youtube.com/watch?v=NSr4LoVe6wA

Project prerequisites

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

How to run this application?

To run this application, you need to clone the how-to-add-legends-in-the-angular-maps-component repository and then open it in Visual Studio Code. Now, simply install all the necessary react packages into your current project using the npm install command and run your project using the ng serve command.