changing flag

Oct 11, 2009 at 10:33 AM
Edited Oct 11, 2009 at 10:42 AM

Hi all,

I have a .shp file that shows the cities on the countries and it shows with a red circle on ajaxmapcontrol,

can I change this circle that show the cities with another flags ???

thank you.  

Coordinator
Oct 11, 2009 at 11:27 AM

Hi sa_84 see http://sharpmap.codeplex.com/Wiki/View.aspx?title=CustomTheme&referringTitle=Change%20rendering%20styles for info about using a custom theme - the style property you need to control is "Symbol" which is of type Bitmap so you can use Bitmap.FromFile(path) to load a flag (the extension does not have to be .bmp)

hth jd