How to Add Annotations to the Angular Maps Component
Learn how easily you can add an annotation to Syncfusion Angular Maps and customize it with various built-in options. Annotations are used to mark specific areas of interest on a Map with texts, shapes, or images. Any number of annotations can be added to the Maps component. To enable Annotations, import Maps and Annotations modules from the Syncfusion EJ2 Angular Maps package and inject the Annotations module into the Maps component. By using the content property of annotations, text content, id of an element, or an HTML string can be specified to render a new HTML element. Annotations can be placed anywhere in a Map by specifying pixel or percentage values to the x and y properties. They can be aligned using the horizontalAlignment and verticalAlignment properties. The possible values can be Center, Far, Near, and None. Multiple annotations can be added to a Map using the annotations property in an array, which can be customized. Using the Maps component, you can visualize the Earth's surface and display static or interactive regions, zones, boundaries, or any geographic area on the land. The Syncfusion Angular Maps component offers a rich set of features, including markers, navigation lines, bubbles, zooming, panning, and drill-down functionality, allowing you to explore interactive zones with ease. Download an example from GitHub: https://github.com/SyncfusionExamples/how-to-add-annotations-to-the-angular-maps-component Refer to the annotation’s documentation on the Syncfusion Angular Maps component: https://ej2.syncfusion.com/angular/documentation/maps/annotations Check out this online example of the Angular Maps component with annotations: https://ej2.syncfusion.com/angular/demos/#/material/maps/annotation Watch the video to get started with the Angular Maps component: https://www.youtube.com/watch?v=NSr4LoVe6wA TRIAL LICENSE KEY ---------- If you need a trial license key, start an Angular trial from your Syncfusion account and then obtain a trial license key from the downloads page: https://www.syncfusion.com/account/manage-trials/start-trials. Check if you are eligible for a free license for all Essential Studio products on our Community License page: https://www.syncfusion.com/products/communitylicense. BOOKMARK DETAILS -------------- [00:00] Introduction [01:28] Add annotations [03:18] Align annotations [03:51] Position annotations [04:22] Add image annotations [05:10] Position image annotations ANGULAR MAPS ------------------ Product overview: https://www.syncfusion.com/angular-components/angular-maps-library Documentation: https://ej2.syncfusion.com/angular/documentation/maps/getting-started Online examples: https://ej2.syncfusion.com/angular/demos/#/bootstrap5/maps/default Download free trial: https://www.syncfusion.com/downloads/angular/confirm npmjs package: https://www.npmjs.com/package/@syncfusion/ej2-angular-maps SUBSCRIBE ---------- Syncfusion on YouTube: https://www.youtube.com/user/syncfusioninc Sign up to receive email updates: https://www.syncfusion.com/account/email-preference SOCIAL COMMUNITIES ------------- Facebook: https://www.facebook.com/Syncfusion/ Twitter: https://twitter.com/Syncfusion LinkedIn: https://www.linkedin.com/company/syncfusion Instagram: https://www.instagram.com/syncfusionofficial/ #angular #map #annotations
Download
0 formatsNo download links available.