protected void addLayer(MapCtrl map) {
String path1="D:\\Temp\\mapdata\\cntry02\\cntry02.shp";
VectorLayer layer = (VectorLayer) LayerFactory.openShapeFile(path1);
map.getLayerCollection().add(layer);
VectorLayer grid = new BLGrid().createGrid();
map.getLayerCollection().add(grid);
}