Dealing with Maps
I am working on a districting project. the goal of the project is to partition a given country/state into a a set of districts. each district is a set of counties that are adjacent to each other. I need a way to show 开发者_如何学Pythonthe results in a visual way. So, am thinking of displaying the map of the country and coloring each district in a different color, but i have no idea how to do this! is there libraries that help me do this?
I am implementing the project using WPF. i haven't started any visual coding. i just implemented the algorithm of the districting. So am open for any suggestions.
There is an excellent free WPF beginner's guide over on CodeProject... WPF: A Beginner's Guide
Once you go through all the parts check out Creating and consuming a custom WPF control followed by reading Sacha's other WPF articles... list of his articles is literally a WPF treasure trove.
Once you go through all that you ought to be more than ready to tackle this problem...
精彩评论