Profile Picture

Map Plot Specific Country

Posted By Volvick Derose 13 Years Ago
Author
Message
Volvick Derose
Posted 13 Years Ago
View Quick Profile
Forum Guru

Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 71, Visits: 1
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




Similar Topics


Reading This Topic