سؤال

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