Draw circle on map

Feb 21, 2012 at 4:19 AM

How to draw circle on map using sharpmap around point latitude/longitude and radius in kilometers.

for example draw circle on map around point

latitude = 30.67 longitude -112.78 and

radius = 120Km

Thanks in advance


Apr 3, 2012 at 6:01 PM


I'm working on MSSQL 2008, normally I prefer for drawing circle in sharmap in a such way:

Include Sqlserver types.dll to your project, then later on;

double xxxxx = new double(); 

Geometry Geom = new Geometry();

ToSharpMapGeometry(ToSqlGeometry(Geom).STBuffer(xxxxx) ) ; 

then place it on a map...

there may be another easier solution ....But it is my solution...