Example of Export in Blazor Maps Component
This sample demonstrates the map's export functionality. You can change the map type to geometric or OSM, and export the map in PNG, JPEG, SVG, or PDF format by clicking the Export button.
Properties
Map Type |
|
Export Type |
|
File Name |
In this example, you can see how to configure the export functionality. The rendered map can be exported in JPEG, PNG, SVG, or PDF format. The ExportAsync method is used to export when the AllowImageExport and AllowPdfExport properties are set to true.
More information about export functionality can be found in this documentation section.