Nevron Forum

Map Plot Specific Country

https://www.nevron.com/Forum/Topic5874.aspx

By Volvick Derose 1 - Thursday, November 17, 2011

I am trying this example

NEsriMap map = new NEsriMap();
NEsriShapefile file = map.Add(@"C:\Maps\countries.shp");
file.NameColumn = "CNTRY_NAME";
file.TextColumn = "CNTRY_NAME";
map.Read();
map.ImportShapes(document, document.Bounds);

it plots the world map

i want to know how to show only a country like "canada"

i try to replace CNTRY_NAME by canada, but still shows the whole world map
By Volvick Derose 1 - Friday, November 18, 2011

Hopefully I found that I have to supply the shapefile for the specific country