Skip to content

This repository contains a sample on How to customize the data labels in .NET MAUI Maps (SfMaps) control?

Notifications You must be signed in to change notification settings

SyncfusionExamples/Data-labels-in-.NET-MAUI-Maps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Data-labels-in-.NET-MAUI-Maps

This sample demonstrate how to customize data labels in .NET MAUI Maps.

A quick-start example to help you to customize data labels in the NET MAUI Maps control. You will learn how to enable and customize the appearance of data labels.

Watch the video: Coming soon...

Documentation: https://help.syncfusion.com/maui/maps/data-labels

Supported platforms

.NET Multi-platform App UI (.NET MAUI) apps can be written for the following platforms:

  • Android 5.0 (API 21) or higher.
  • iOS 11 or higher, using the latest release of Xcode.
  • macOS 10.15 or higher, using Mac Catalyst.
  • Windows 11 and Windows 10 version 1809 or higher, using Windows UI Library (WinUI) 3.

Requirements to run the sample

Refer to the following link for more details: System Requirements

How to run the sample

  1. Clone the sample and open it in Visual Studio 2022 preview.

    Note: If you download the sample using the "Download ZIP" option, right-click it, select Properties, and then select Unblock.

  2. Register your license key in the App.cs file as demonstrated in the following code.

     public App()
     {
     	//Register Syncfusion license
     	Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR LICENSE KEY");
     
     	InitializeComponent();
     
     	MainPage = new MainPage();
     }
    

    Refer to this link for more details.

  3. Clean and build the application.

  4. Run the application.

License

Syncfusion has no liability for any damage or consequence that may arise from using or viewing the samples. The samples are for demonstrative purposes. If you choose to use or access the samples, you agree to not hold Syncfusion liable, in any form, for any damage related to use, for accessing, or viewing the samples. By accessing, viewing, or seeing the samples, you acknowledge and agree Syncfusion’s samples will not allow you seek injunctive relief in any form for any claim related to the sample. If you do not agree to this, do not view, access, utilize, or otherwise do anything with Syncfusion’s samples.

Troubleshooting

Path too long exception

If you are facing path too long exception when building this example project, close Visual Studio and rename the repository to short and build the project.

About

This repository contains a sample on How to customize the data labels in .NET MAUI Maps (SfMaps) control?

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages