I've got the C# app, which uses GMap.NET to render the world maps and my other data on top of that. I've got the Graphics object to render to. I also have a need to display ESRI shape files as translucent shapes on my map. How do I render that? Libraries available look like they would draw into their own Windows control. Also, when I am able to render that, how do I sync the map and shape coordinates exactly?
Thanks, D.
GMap.Net does not support reading ESRI shape files directly but you can use a 3rd party library like MapTools it is a .Net wrapper to the (ShapeLib) Library.
You have to read the shape file first with the (MapTools) library and loop for each geometry (Point, Line, Polygon) and convert the geometry projection using the Proj4Net Libarary and add each geometry to its appropriate overlay on the GMapControl.
You can download the latest version of (MapTools) from this link
Here's a sample function to read a shape file filled with routes, it will return a list of GMapRoutes, then you have to draw them on your map.