Example of Print in Javascript Maps Control


This sample illustrates the print feature in Maps. By clicking the Print button, you can print the maps directly from the browser.

More Details...


In this example, you can see how to render and configure the print functionality. The rendered maps can be printed directly from the browser by calling the print method when allowPrint is set as true. Also this sample visualizes the State-wise US population in the year 2010. Injecting Module Maps component features are segregated into individual feature-wise modules. To use a legend, inject the Legend module using the Maps.Inject(Legend) method. To make use of the print support, we need to inject the Maps module using the Maps.Inject(Print). More information on print can be found in this documentation section.