I want to draw a map in WPF without using any third party controls.

I need each and every state of all the countries, and based on certain conditions I want to color them.

How can I get the polygon shapes of each state of all the countries?

有帮助吗?

解决方案

Here is an SVG file with all the states as separate polygons (look at the source!)

You can convert it to xaml if you want and fill the state differently.

EDIT

Just google for svg world map. One of the first hits seems to be a nice resource.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top