Example of Export in ASP.NET MVC Maps Control
This sample illustrates the exporting feature in Maps. You can modify the map type to geometric or OSM using the Map type dropdown list in this sample. By clicking the Export button, you can export the map in PNG, JPEG, SVG or in PDF formats.
DEMO
SOURCE
Source:
en.wikipedia.org
Map Type
|
|
Export Type
|
|
File Name
|
|
|
In this example, you can see how to render and configure the export functionality. The rendered map can be exported as either JPEG, PNG, SVG, and PDF formats. Also this sample visualizes the locations of the wonders in the world using markers. Export functionality is done by export
method when AllowImageExport
and AllowPdfExport
are set as true.
More information about export can be found in this documentation section.