Archive

Posts Tagged ‘map’

World Map in XAML

September 24th, 2009

World map in XAML

Following the great work Imran Shaik on creating world map in XAML (http://silverlight2.blogspot.com/2007/12/silverlight-world-map.html), I decided to improve it a bit:

  • Every country is highlighted on mouse hover/out and can be selected
  • All these properties can be customised from single style definitions in XAML and C# code behind
  • Labels are added for each continent; these can potentially select all countries within certain continent
  • Tooltips are added for countries within South America just for the demo purposes


You can see the demo Silverlight 3 website at:
http://www.sgolubev.com/share/WorldMapInXaml/

The entire Visual Studio 2008 Silverlight 3 project can be downloaded from: 
http://www.sgolubev.com/share/WorldMapInXaml/WorldMapInXaml.zip (~6Mb)


You will find a self-contained map user control which you can reuse in your projects. Please respect copyright rules specified on the Imran’s site. This work is licensed under a Creative Commons Licence.

Hope you find this useful!

, ,