very good Example

Jul 13, 2008 at 1:36 PM
hi velio,

i saw this example above for drawing polygons and i think is very interesting!!

could you tell me how to do?

bye, kevins
Jul 15, 2008 at 2:35 AM
Here's my code:

GooglePolygon gon = new GooglePolygon();

               gon.FillColor = Color.Red;

               gon.FillOpacity = .8F;

               gon.StrokeColor = Color.Blue;

               gon.StrokeWeight = 2;

               GoogleLocation startPoint = null;

               foreach (GoogleLocation point in _points) {

                   if (startPoint != null)



                       gon.Points.Add(startPoint = point);





Dec 1, 2008 at 12:39 PM
hi kevins

This very nice example for drawing polygons

but when i use your code in my page it shows this error

Error 1 The name '_points' does not exist in the current context 

Also I don't know how i can retrieve this data to save it the database