Quantcast
Channel: GMap.NET - Great Maps for Windows Forms & Presentation
Viewing all articles
Browse latest Browse all 3384

New Post: Polygon with inner polygons

$
0
0
Oh, sorry, you have to change something more in GMapPolygon.cs:

Change

internal void UpdateGraphicsPath()
  {
...
}
to

public virtual void UpdateGraphicsPath()
  {
...
}

and

GraphicsPath graphicsPath;

to

protected GraphicsPath graphicsPath;


Then remove

private GraphicsPath graphicsPath = new GraphicsPath();

from the class GMapPolygonHole.cs

Then it should work!

Viewing all articles
Browse latest Browse all 3384


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>