The following diagram illustrates the process that transforms geographical data into Nevron Diagram shapes:
- The process begins with specifying the source of the geographical data (e.g. an ESRI shapefile) by using the AddLayer method of the map importer. You can add one or more shapefiles to the map and configure them individually. The shapefile can come from a file on disk, a stream or a resource embedded in your application. For more information check out the Map Layers topic.
- The geographical data is then read by the map importer and the import of the shapes is ready to begin.
- First, a map projection transforms the 3D geographical coordinates to 2D coordinates by projecting the 3D geographical data to the plane.
- After the coordinates of all points are calculated by the projection, Nevron diagram shapes are created.
- A fill rule can be applied to the created shapes in order to color them, for example to create a political or a choropleth map.
- A shape created listener can be attached to the map importer in case you want to customize the imported shapes even further (for example to set tooltips).