[mapserver-users] Drawing a circle on a map

Stephen Woodbridge woodbri at swoodbridge.com
Sat Apr 12 10:35:57 EDT 2008


Sucharita Samuel wrote:
> Hi all,
>         I want to draw a circle of 5 km radius around the point I click 
> on the map. I am using C# mapscript. Even if you can help me with the 
> php code, it will be of great help.

One way to do this is to create a template layer that defines a feature 
that is a circle with the STATUS OFF. Then in mapscript you can get the 
layer, set the status to ON and set the value of the origin of the 
feature and have mapserver draw it on top of your map.

-Steve W.


More information about the mapserver-users mailing list