Hi Ramy,
Welcome to MapSuite discussion forum. There are several ways that we can manage it.
1. Please following the below codes:
ShapeFileFeatureLayer worldLayer = new ShapeFileFeatureLayer(MapPath("~/SampleData/world/cntry02.shp"));
worldLayer.Open();
Collection<Feature> egypt = worldLayer.QueryTools.GetFeaturesByColumnValue("CNTRY_NAME", "egypt");
if (egypt.Count > 0)
{
RectangleShape egyptExtent = egypt[0].GetBoundingBox();
// in this way, we got: 24.7068042755127,31.6469421386719,36.8958282470703,21.9941635131836
}
We can find the “cntry02.shp” file under installation path.
2. Please visit our online sample websamples.thinkgeo.com/Samp...Event.aspx
Or install sample localhost:xxxx/Samples/Navig....aspx.Then, zoom in to the Egypt to see the current extent. Of course, this way is not very accurate.
Hope it helps and have a good journey on Map Suite. And if any other problems, please feel free to let us know!
Thanks,
Johnny