Join and Render

General API samples

This sample demonstrates how to join the map to a database in order to present values from the database on the map as a colored-gradient value theme. This join operation is to a SQLite, but the sample is also applicable to joining to other SQL server database products. This sample is a replica of the DK.NET JoinAndRender sample which is found in the DK Sample Set #4. The ASP.NET source code for this sample is provided below.

From the drop down menu, select either the ‘forest’ or ‘agriculture’ option. The selection of ‘forest’ color renders each polygon area based on values from the database representing the land areas used for forestry purposes. The ‘agriculture’ selection color renders each polygon to reflect the land areas used for agricultural purposes.