using System; using System.Collections; using System.Collections.ObjectModel; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using ThinkGeo.MapSuite.Core; using ThinkGeo.MapSuite.WebEdition; using System.Text; namespace displaymap { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { Map1.MapTools.Logo.Enabled = false; Map1.MapTools.KeyboardMapTool.Enabled = true; Map1.MapBackground.BackgroundBrush = new GeoSolidBrush(GeoColor.FromHtml("#94aac6")); Map1.CurrentExtent = new RectangleShape(45.35156, 46.84570, 116.01563, 1.14258); Map1.MapTools.ScaleLine.Enabled = true; Map1.MapUnit = GeographyUnit.DecimalDegree; Map1.MapTools.MouseCoordinate.MouseCoordinateType = MouseCoordinateType.LongitudeLatitude; Map1.MapTools.MouseCoordinate.Enabled = true; Map1.ToolTip = "Click to get Information"; Map1.ScrollBars = ScrollBars.Auto; Map1.Cursor = CursorType.Pointer; IndiaMap(); KaigaMap(); ZoomLevelSet zoomLevelSet = new ZoomLevelSet(); Map1.ZoomToScale(18550000); } } public void KaigaMap() { ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kaiga-Toposheets-Final Data\admin.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer adminLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kaiga-Toposheets-Final Data\admin.shp")); adminLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Antarctica1; adminLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(adminLayer); ShapeFileFeatureLayer adminlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kaiga-Toposheets-Final Data\admin.shp")); adminlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Antarctical("NAME"); adminlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(adminlabelLayer); } public void KakraparMap() { ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\District_Boundary.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer districtLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\District_Boundary.shp")); districtLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Antarctica1; districtLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(districtLayer); ShapeFileFeatureLayer districtlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\District_Boundary.shp")); districtlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Antarctical("DISTRICT"); districtlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(districtlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\Canal_Poly.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer canalLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\Canal_Poly.shp")); canalLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Water2; canalLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(canalLayer); ShapeFileFeatureLayer canallabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\Canal_Poly.shp")); canallabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Water1("NAME"); canallabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(canallabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\River_Poly.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer riverLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\River_Poly.shp")); riverLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.WaterIntermittent1; riverLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(riverLayer); ShapeFileFeatureLayer riverlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\River_Poly.shp")); riverlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Water2("NAME"); riverlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(riverlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\Sea.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer seaLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\Sea.shp")); seaLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Water1; seaLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(seaLayer); ShapeFileFeatureLayer sealabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\Sea.shp")); sealabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.WaterIntermittent1("NAME"); sealabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(sealabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\Settlements.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer settlementsLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\Settlements.shp")); settlementsLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Urban2; settlementsLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(settlementsLayer); ShapeFileFeatureLayer settlementslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\Settlements.shp")); settlementslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Utility3("NAME"); settlementslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(settlementslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\State_Boundary.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer stateLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\State_Boundary.shp")); stateLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.State1; stateLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(stateLayer); ShapeFileFeatureLayer statelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\State_Boundary.shp")); statelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.State2("STATE_NAME"); statelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(statelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\Taluk_Boundary.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer talukaLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\Taluk_Boundary.shp")); talukaLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.GeographicColors.InnerState); talukaLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(talukaLayer); ShapeFileFeatureLayer talukalabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\Taluk_Boundary.shp")); talukalabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.RiverIntermittent1("TALUK"); talukalabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(talukalabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\Water_Boundary.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer waterLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\Water_Boundary.shp")); waterLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.GeographicColors.Lake); waterLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(waterLayer); ShapeFileFeatureLayer waterlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kakrapar\Vector Data\Water_Boundary.shp")); waterlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.River2("TALUK"); waterlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(waterlabelLayer); } /* public void DelhiMap() { }*/ public void KudankulamMap() { ShapeFileFeatureSource.BuildIndexFile("C:\\inetpub\\wwwroot\\displaymap\\App_Data\\GIS DATA\\Kanyakumari\\Admin_Poly.shp", BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer adminPolyLayer = new ShapeFileFeatureLayer("C:\\inetpub\\wwwroot\\displaymap\\App_Data\\GIS DATA\\Kanyakumari\\Admin_Poly.shp"); adminPolyLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Urban1; adminPolyLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(adminPolyLayer); ShapeFileFeatureLayer adminPolylabelLayer = new ShapeFileFeatureLayer("C:\\inetpub\\wwwroot\\displaymap\\App_Data\\GIS DATA\\Kanyakumari\\Admin_Poly.shp"); adminPolylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Urban1("NAME"); adminPolylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(adminPolylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Canal_Poly.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer canalPolyLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Canal_Poly.shp")); canalPolyLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.SimpleColors.Blue,GeoColor.SimpleColors.Black); canalPolyLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(canalPolyLayer); ShapeFileFeatureLayer canalPolylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Canal_Poly.shp")); canalPolylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Canal1("NAME"); canalPolylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(canalPolylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Forest_Poly.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer forestPolyLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Forest_Poly.shp")); forestPolyLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.StandardColors.ForestGreen); forestPolyLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(forestPolyLayer); ShapeFileFeatureLayer forestPolylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Forest_Poly.shp")); forestPolylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Forest1("NAME"); forestPolylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(forestPolylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Ocean.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer oceanPolyLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Ocean.shp")); oceanPolyLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.StandardColors.DarkBlue); oceanPolyLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(oceanPolyLayer); ShapeFileFeatureLayer oceanPolylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Ocean.shp")); oceanPolylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.River2("NAME"); oceanPolylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(oceanPolylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Railway_Stn.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer railstnPolyLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Railway_Stn.shp")); railstnPolyLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.StandardColors.FloralWhite); railstnPolyLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(railstnPolyLayer); ShapeFileFeatureLayer railstnPolylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Railway_Stn.shp")); railstnPolylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Railway4("NAME"); railstnPolylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(railstnPolylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\River_Poly.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer riverPolyLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\River_Poly.shp")); riverPolyLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.StandardColors.DodgerBlue); riverPolyLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(riverPolyLayer); ShapeFileFeatureLayer riverPolylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\River_Poly.shp")); riverPolylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.River2("NAME"); riverPolylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(riverPolylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Settlement.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer settlementPolyLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Settlement.shp")); settlementPolyLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.StandardColors.GhostWhite); settlementPolyLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(settlementPolyLayer); ShapeFileFeatureLayer settlementPolylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Settlement.shp")); settlementPolylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.SnowIce1("NAME"); settlementPolylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(settlementPolylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Water_Bodies.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer waterPolyLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Water_Bodies.shp")); waterPolyLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.StandardColors.LightBlue); waterPolyLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(waterPolyLayer); ShapeFileFeatureLayer waterPolylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Water_Bodies.shp")); waterPolylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.SnowIce1("NAME"); waterPolylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(waterPolylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Bunds.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer BundsLineLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Bunds.shp")); BundsLineLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle=LineStyles.MajorStreet3; BundsLineLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(BundsLineLayer); ShapeFileFeatureLayer BundsLinelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Bunds.shp")); BundsLinelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.MajorStreet3("NAME"); BundsLinelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(BundsLinelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Canal_Line.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer canalLineLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Canal_Line.shp")); canalLineLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.Canal1; canalLineLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(canalLineLayer); ShapeFileFeatureLayer canalLinelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Canal_Line.shp")); canalLinelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Canal1("NAME"); canalLinelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(canalLinelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Railway_Line.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer railLineLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Railway_Line.shp")); railLineLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.Railway4; railLineLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(railLineLayer); ShapeFileFeatureLayer railLinelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Railway_Line.shp")); railLinelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Railway4("NAME"); railLinelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(railLinelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\River_Line.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer riverLineLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\River_Line.shp")); riverLineLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.River2; riverLineLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(riverLineLayer); ShapeFileFeatureLayer riverLinelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\River_Line.shp")); riverLinelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.River2("NAME"); riverLinelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(riverLinelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Roads.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer roadsLineLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Roads.shp")); roadsLineLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.MajorRoad4; roadsLineLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(roadsLineLayer); ShapeFileFeatureLayer roadsLinelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Roads.shp")); roadsLinelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.MajorRoad4("NAME"); roadsLinelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(roadsLinelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Streams.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer streamsLineLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Streams.shp")); streamsLineLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.RiverIntermittent1; streamsLineLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(streamsLineLayer); ShapeFileFeatureLayer streamsLinelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Streams.shp")); streamsLinelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.RiverIntermittent1("NAME"); streamsLinelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(streamsLinelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Hospitals.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer hospitalsLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Hospitals.shp")); hospitalsLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.Capital3; hospitalsLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(hospitalsLayer); ShapeFileFeatureLayer hospitalslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Hospitals.shp")); hospitalslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Capital3("NAME"); hospitalslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(hospitalslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Landmarks.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer landmarksLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Landmarks.shp")); landmarksLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.City7; landmarksLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(landmarksLayer); ShapeFileFeatureLayer landmarkslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Landmarks.shp")); landmarkslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Capital3("NAME"); landmarkslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(landmarkslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Metrological_Stn.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer metrologicalstnLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Metrological_Stn.shp")); metrologicalstnLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimpleCircleStyle(GeoColor.GeographicColors.Sand,5); metrologicalstnLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(metrologicalstnLayer); ShapeFileFeatureLayer metrologicalstnlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Metrological_Stn.shp")); metrologicalstnlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Capital3("NAME"); metrologicalstnlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(metrologicalstnlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Settlement_Point.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer settlementpointLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Settlement_Point.shp")); settlementpointLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimpleCircleStyle(GeoColor.StandardColors.AliceBlue, 5); settlementpointLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(settlementpointLayer); ShapeFileFeatureLayer settlementpointlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Settlement_Point.shp")); settlementpointlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Capital3("NAME"); settlementpointlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(settlementpointlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Spot_Hts.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer spothtsLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Spot_Hts.shp")); spothtsLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimpleCircleStyle(GeoColor.StandardColors.Beige, 5); spothtsLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(spothtsLayer); ShapeFileFeatureLayer spothtslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Kanyakumari\Spot_Hts.shp")); spothtslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Capital3("NAME"); spothtslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(spothtslabelLayer); } /* public void MumbaiMap() { ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\district_boundaries.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaidistrictbounShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\district_boundaries.shp")); MumbaidistrictbounShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Country2; MumbaidistrictbounShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaidistrictbounShapeLayer); ShapeFileFeatureLayer MumbaidistrictbounlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\district_boundaries.shp")); MumbaidistrictbounlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Country2("DIST_NAME"); MumbaidistrictbounlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaidistrictbounlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\blocks.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiblockShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\blocks.shp")); MumbaiblockShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Urban1; MumbaiblockShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiblockShapeLayer); ShapeFileFeatureLayer MumbaiblockLabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\blocks.shp")); MumbaiblockLabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Urban1("COLONY_NAM"); MumbaiblockLabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; MumbaiblockLabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.Font = new GeoFont("Verdana", 8); Map1.DynamicOverlay.Layers.Add(MumbaiblockLabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\water_body.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiWaterShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\water_body.shp")); MumbaiWaterShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Water1; MumbaiWaterShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiWaterShapeLayer); ShapeFileFeatureLayer MumbaiWaterLabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\water_body.shp")); MumbaiWaterLabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Water1("NAME"); MumbaiWaterLabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; MumbaiWaterLabelLayer.DrawingMarginPercentage = 200; MumbaiWaterLabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.Font = new GeoFont("Verdana", 8); MumbaiWaterLabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.FittingPolygon = true; Map1.DynamicOverlay.Layers.Add(MumbaiWaterLabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\builtup_area.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiBuiltupareaShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\builtup_area.shp")); MumbaiBuiltupareaShapeLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(AreaStyles.County2); MumbaiBuiltupareaShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; MumbaiBuiltupareaShapeLayer.DrawingMarginPercentage = 10; Map1.StaticOverlay.Layers.Add(MumbaiBuiltupareaShapeLayer); ShapeFileFeatureLayer MumbaibuiltupareaLabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\builtup_area.shp")); MumbaibuiltupareaLabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; TextStyle textStyle = TextStyles.County2("NAME"); textStyle.TextLineSegmentRatio = double.MaxValue; textStyle.OverlappingRule = LabelOverlappingRule.NoOverlapping; textStyle.ForceHorizontalLabelForLine = false; textStyle.FittingLineInScreen = true; textStyle.BestPlacement = true; textStyle.GridSize = 10; textStyle.SplineType = SplineType.StandardSplining; MumbaibuiltupareaLabelLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(textStyle); MumbaibuiltupareaLabelLayer.DrawingMarginPercentage = 200; Map1.DynamicOverlay.Layers.Add(MumbaibuiltupareaLabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\industrial_area.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiindustryareaShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\industrial_area.shp")); MumbaiindustryareaShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Antarctica1; MumbaiindustryareaShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiindustryareaShapeLayer); ShapeFileFeatureLayer MumbaiindustryarealabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\industrial_area.shp")); MumbaiindustryarealabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Antarctical("SUBCLASS"); MumbaiindustryarealabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiindustryarealabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\park_garden.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiparkShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\park_garden.shp")); MumbaiparkShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Park1; MumbaiparkShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiparkShapeLayer); ShapeFileFeatureLayer MumbaiparklabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\park_garden.shp")); MumbaiparklabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Park1("NAME"); MumbaiparklabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiparklabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\shopping_area.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaishoppingShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\shopping_area.shp")); MumbaishoppingShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Country1; MumbaishoppingShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaishoppingShapeLayer); ShapeFileFeatureLayer MumbaiShopppinglabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\shopping_area.shp")); MumbaiShopppinglabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Country1("SUBCLASS"); MumbaiShopppinglabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiShopppinglabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\slum_area.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaislumShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\slum_area.shp")); MumbaislumShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.County1; MumbaislumShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaislumShapeLayer); ShapeFileFeatureLayer MumbaiSlumlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\slum_area.shp")); MumbaiSlumlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.County1("SUBCLASS"); MumbaiSlumlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiSlumlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\wooded_area.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiwoodShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\wooded_area.shp")); MumbaiwoodShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Urban2; MumbaiwoodShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiwoodShapeLayer); ShapeFileFeatureLayer MumbaiwoodlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POLY\wooded_area.shp")); MumbaiwoodlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Urban2("SUBCLASS"); MumbaiwoodlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiwoodlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\LINE\otherrd_outlines.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiotherroadShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\LINE\otherrd_outlines.shp")); MumbaiotherroadShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.LocalRoad2; MumbaiotherroadShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiotherroadShapeLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\LINE\rail_lines.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbairaillinesShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\LINE\rail_lines.shp")); MumbairaillinesShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.Railway2; MumbairaillinesShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbairaillinesShapeLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\LINE\road_networks.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbairoadShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\LINE\road_networks.shp")); MumbairoadShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.MajorRoad3; MumbairoadShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbairoadShapeLayer); ShapeFileFeatureLayer MumbairoadlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\LINE\road_networks.shp")); MumbairoadlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.MajorRoad3("ROAD_NAME"); MumbairoadlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbairoadlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\airline_travel_agency.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaitravelagencyShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\airline_travel_agency.shp")); MumbaitravelagencyShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.SimpleColors.Red, 5); MumbaitravelagencyShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaitravelagencyShapeLayer); ShapeFileFeatureLayer MumbaitravelagencylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\airline_travel_agency.shp")); MumbaitravelagencylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaitravelagencylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaitravelagencylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\airport.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiairpotShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\airport.shp")); MumbaiairpotShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.SimpleColors.Blue, 5); MumbaiairpotShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiairpotShapeLayer); ShapeFileFeatureLayer MumbaiairpotlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\airport.shp")); MumbaiairpotlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiairpotlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiairpotlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\art_cultural_inst.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiartinstShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\art_cultural_inst.shp")); MumbaiartinstShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.SimpleColors.Copper, 5); MumbaiartinstShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiartinstShapeLayer); ShapeFileFeatureLayer MumbaiartinstlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\art_cultural_inst.shp")); MumbaiartinstlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiartinstlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiartinstlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\art_gallery.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiartgalleryShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\art_gallery.shp")); MumbaiartgalleryShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.SimpleColors.Gold, 5); MumbaiartgalleryShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiartgalleryShapeLayer); ShapeFileFeatureLayer MumbaiartgallerylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\art_gallery.shp")); MumbaiartgallerylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiartgallerylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiartgallerylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\atm.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiatmShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\atm.shp")); MumbaiatmShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.SimpleColors.Black, 5); MumbaiatmShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiatmShapeLayer); ShapeFileFeatureLayer MumbaiatmlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\atm.shp")); MumbaiatmlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiatmlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiatmlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\auditorium.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiauditShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\auditorium.shp")); MumbaiauditShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.SimpleColors.DarkBlue, 5); MumbaiauditShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiauditShapeLayer); ShapeFileFeatureLayer MumbaiauditlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\auditorium.shp")); MumbaiauditlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiauditlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiauditlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\banks.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaibanksShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\banks.shp")); MumbaibanksShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond, GeoColor.SimpleColors.DarkBlue, 5); MumbaibanksShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaibanksShapeLayer); ShapeFileFeatureLayer MumbaibankslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\banks.shp")); MumbaibankslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaibankslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaibankslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\banquet_marriage_hall.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaihallShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\banquet_marriage_hall.shp")); MumbaihallShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond, GeoColor.SimpleColors.DarkRed, 5); MumbaihallShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaihallShapeLayer); ShapeFileFeatureLayer MumbaihalllabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\banquet_marriage_hall.shp")); MumbaihalllabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaihalllabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaihalllabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\beaches.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaibeachesShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\beaches.shp")); MumbaibeachesShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond, GeoColor.SimpleColors.Blue, 5); MumbaibeachesShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaibeachesShapeLayer); ShapeFileFeatureLayer MumbaibeacheslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\beaches.shp")); MumbaibeacheslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaibeacheslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaibeacheslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\birth_death_regn_office.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaibdregnofficeShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\birth_death_regn_office.shp")); MumbaibdregnofficeShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond, GeoColor.SimpleColors.Black, 5); MumbaibdregnofficeShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaibdregnofficeShapeLayer); ShapeFileFeatureLayer MumbaibdregnofficelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\birth_death_regn_office.shp")); MumbaibdregnofficelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaibdregnofficelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaibdregnofficelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\blood_bank.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaibloodbankShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\blood_bank.shp")); MumbaibloodbankShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.Red, 5); MumbaibloodbankShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaibloodbankShapeLayer); ShapeFileFeatureLayer MumbaibloodbanklabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\blood_bank.shp")); MumbaibloodbanklabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaibloodbanklabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaibloodbanklabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\chowks.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaichowksShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\chowks.shp")); MumbaichowksShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.Yellow, 5); MumbaichowksShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaichowksShapeLayer); ShapeFileFeatureLayer MumbaichowkslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\chowks.shp")); MumbaichowkslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaichowkslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaichowkslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\cinema.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaicinemaShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\cinema.shp")); MumbaicinemaShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.Orange, 5); MumbaicinemaShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaicinemaShapeLayer); ShapeFileFeatureLayer MumbaicinemalabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\cinema.shp")); MumbaicinemalabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaicinemalabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaicinemalabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\clubs.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiclubsShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\clubs.shp")); MumbaiclubsShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.PastelRed, 5); MumbaiclubsShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiclubsShapeLayer); ShapeFileFeatureLayer MumbaiclubslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\clubs.shp")); MumbaiclubslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiclubslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiclubslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\courts.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaicourtShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\courts.shp")); MumbaicourtShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.PastelOrange, 5); MumbaicourtShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaicourtShapeLayer); ShapeFileFeatureLayer MumbaicourtlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\courts.shp")); MumbaicourtlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaicourtlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaicourtlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\cremation_burialgrounds.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiburialShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\cremation_burialgrounds.shp")); MumbaiburialShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.Black, 5); MumbaiburialShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiburialShapeLayer); ShapeFileFeatureLayer MumbaiburiallabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\cremation_burialgrounds.shp")); MumbaiburiallabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiburiallabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiburiallabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\education_training_inst.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaieduinstShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\education_training_inst.shp")); MumbaieduinstShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.BrightBlue, 5); MumbaieduinstShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaieduinstShapeLayer); ShapeFileFeatureLayer MumbaieduinstlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\education_training_inst.shp")); MumbaieduinstlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaieduinstlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaieduinstlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\electricity complaint office.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaielectShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\electricity complaint office.shp")); MumbaielectShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.BrightRed, 5); MumbaielectShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaielectShapeLayer); ShapeFileFeatureLayer MumbaielectlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\electricity complaint office.shp")); MumbaielectlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaielectlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaielectlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\embassy.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiembShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\embassy.shp")); MumbaiembShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond2, GeoColor.SimpleColors.BrightRed, 5); MumbaiembShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiembShapeLayer); ShapeFileFeatureLayer MumbaiemblabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\embassy.shp")); MumbaiemblabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiemblabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiemblabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\farms.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaifarmShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\farms.shp")); MumbaifarmShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond2, GeoColor.SimpleColors.BrightGreen, 5); MumbaifarmShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaifarmShapeLayer); ShapeFileFeatureLayer MumbaifarmlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\farms.shp")); MumbaifarmlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaifarmlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaifarmlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\ferry.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiferryShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\ferry.shp")); MumbaiferryShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond2, GeoColor.SimpleColors.Copper, 5); MumbaiferryShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiferryShapeLayer); ShapeFileFeatureLayer MumbaiferrylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\ferry.shp")); MumbaiferrylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiferrylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiferrylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\general_petrolpump.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaigpetrolShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\general_petrolpump.shp")); MumbaigpetrolShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond2, GeoColor.SimpleColors.BrightBlue, 5); MumbaigpetrolShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaigpetrolShapeLayer); ShapeFileFeatureLayer MumbaigpetrollabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\general_petrolpump.shp")); MumbaigpetrollabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaigpetrollabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaigpetrollabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\golf_flags.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaigolfShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\golf_flags.shp")); MumbaigolfShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond2, GeoColor.SimpleColors.LightBlue, 5); MumbaigolfShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaigolfShapeLayer); ShapeFileFeatureLayer MumbaigolflabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\golf_flags.shp")); MumbaigolflabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaigolflabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaigolflabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\historical_places.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaihisplacesShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\historical_places.shp")); MumbaihisplacesShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Star, GeoColor.SimpleColors.Gold, 5); MumbaihisplacesShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaihisplacesShapeLayer); ShapeFileFeatureLayer MumbaihisplaceslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\historical_places.shp")); MumbaihisplaceslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaihisplaceslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaihisplaceslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\hospitals.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaihospitalShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\hospitals.shp")); MumbaihospitalShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Cross, GeoColor.SimpleColors.DarkBlue, 5); MumbaihospitalShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaihospitalShapeLayer); ShapeFileFeatureLayer MumbaihospitallabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\hospitals.shp")); MumbaihospitallabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaihospitallabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaihospitallabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\hostels.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaihostelsShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\hostels.shp")); MumbaihostelsShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Triangle, GeoColor.SimpleColors.DarkBlue, 5); MumbaihostelsShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaihostelsShapeLayer); ShapeFileFeatureLayer MumbaihostelslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\hostels.shp")); MumbaihostelslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaihostelslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaihostelslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\hotels.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaihotelsShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\hotels.shp")); MumbaihotelsShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Triangle, GeoColor.SimpleColors.BrightRed, 5); MumbaihotelsShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaihotelsShapeLayer); ShapeFileFeatureLayer MumbaihotelslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\hotels.shp")); MumbaihotelslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaihotelslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaihotelslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\information_centre.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiinfoShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\information_centre.shp")); MumbaiinfoShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Triangle, GeoColor.SimpleColors.BrightGreen, 5); MumbaiinfoShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiinfoShapeLayer); ShapeFileFeatureLayer MumbaiinfolabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\information_centre.shp")); MumbaiinfolabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiinfolabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiinfolabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\institutions.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiinstShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\institutions.shp")); MumbaiinstShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Triangle, GeoColor.SimpleColors.DarkGreen, 5); MumbaiinstShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiinstShapeLayer); ShapeFileFeatureLayer MumbaiinstlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\institutions.shp")); MumbaiinstlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiinstlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiinstlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\library.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbailibShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\library.shp")); MumbailibShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Triangle, GeoColor.SimpleColors.LightGreen, 5); MumbailibShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbailibShapeLayer); ShapeFileFeatureLayer MumbailiblabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\library.shp")); MumbailiblabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbailiblabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbailiblabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\milk_booth.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaimilkbooShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\milk_booth.shp")); MumbaimilkbooShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Triangle, GeoColor.StandardColors.AntiqueWhite, 5); MumbaimilkbooShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaimilkbooShapeLayer); ShapeFileFeatureLayer MumbaimilkboolabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\milk_booth.shp")); MumbaimilkboolabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaimilkboolabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaimilkboolabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\money_changers.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaimonchangersShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\money_changers.shp")); MumbaimonchangersShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Triangle, GeoColor.StandardColors.CadetBlue, 5); MumbaimonchangersShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaimonchangersShapeLayer); ShapeFileFeatureLayer MumbaimonchangerslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\money_changers.shp")); MumbaimonchangerslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaimonchangerslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaimonchangerslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\monuments.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaimonumentsShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\monuments.shp")); MumbaimonumentsShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Triangle, GeoColor.StandardColors.BurlyWood, 5); MumbaimonumentsShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaimonumentsShapeLayer); ShapeFileFeatureLayer MumbaimonumentslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\monuments.shp")); MumbaimonumentslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaimonumentslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaimonumentslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\museum.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaimuseumShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\museum.shp")); MumbaimuseumShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Triangle, GeoColor.StandardColors.Firebrick, 5); MumbaimuseumShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaimuseumShapeLayer); ShapeFileFeatureLayer MumbaimuseumlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\museum.shp")); MumbaimuseumlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaimuseumlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaimuseumlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\offices.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiofficesShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\offices.shp")); MumbaiofficesShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Triangle, GeoColor.StandardColors.Gray, 5); MumbaiofficesShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiofficesShapeLayer); ShapeFileFeatureLayer MumbaiofficeslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\offices.shp")); MumbaiofficeslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiofficeslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiofficeslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\overhead_tank.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiovertankShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\overhead_tank.shp")); MumbaiovertankShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Triangle, GeoColor.StandardColors.LightBlue, 5); MumbaiovertankShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiovertankShapeLayer); ShapeFileFeatureLayer MumbaiovertanklabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\overhead_tank.shp")); MumbaiovertanklabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiovertanklabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiovertanklabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\parks.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiparksShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\parks.shp")); MumbaiparksShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Triangle, GeoColor.StandardColors.LawnGreen, 5); MumbaiparksShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiparksShapeLayer); ShapeFileFeatureLayer MumbaiparkslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\parks.shp")); MumbaiparkslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiparkslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiparkslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\place_of_worship.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiworshipShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\place_of_worship.shp")); MumbaiworshipShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Cross, GeoColor.StandardColors.LightGoldenrodYellow, 5); MumbaiworshipShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiworshipShapeLayer); ShapeFileFeatureLayer MumbaiworshiplabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\place_of_worship.shp")); MumbaiworshiplabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiworshiplabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiworshiplabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\poi.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaipoiShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\poi.shp")); MumbaipoiShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Star2, GeoColor.StandardColors.LightGoldenrodYellow, 5); MumbaipoiShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaipoiShapeLayer); ShapeFileFeatureLayer MumbaipoilabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\poi.shp")); MumbaipoilabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaipoilabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaipoilabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\police_chauki.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaichaukiShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\police_chauki.shp")); MumbaichaukiShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.LightGoldenrodYellow, 5); MumbaichaukiShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaichaukiShapeLayer); ShapeFileFeatureLayer MumbaichaukilabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\police_chauki.shp")); MumbaichaukilabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaichaukilabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaichaukilabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\police_station.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaistnShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\police_station.shp")); MumbaistnShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.Khaki, 5); MumbaistnShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaistnShapeLayer); ShapeFileFeatureLayer MumbaistnlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\police_station.shp")); MumbaistnlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaistnlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaistnlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\post_telegraph_office.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiteleofficeShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\post_telegraph_office.shp")); MumbaiteleofficeShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.Indigo, 5); MumbaiteleofficeShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiteleofficeShapeLayer); ShapeFileFeatureLayer MumbaiteleofficelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\post_telegraph_office.shp")); MumbaiteleofficelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiteleofficelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiteleofficelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\rail_station.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbairailstnShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\rail_station.shp")); MumbairailstnShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.Magenta, 5); MumbairailstnShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbairailstnShapeLayer); ShapeFileFeatureLayer MumbairailstnlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\rail_station.shp")); MumbairailstnlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbairailstnlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbairailstnlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\railway_reservation_centre.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbairailresShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\railway_reservation_centre.shp")); MumbairailresShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.MediumSlateBlue, 5); MumbairailresShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbairailresShapeLayer); ShapeFileFeatureLayer MumbairailreslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\railway_reservation_centre.shp")); MumbairailreslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbairailreslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbairailreslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\restaurants.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbairestuShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\restaurants.shp")); MumbairestuShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.MediumVioletRed, 5); MumbairestuShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbairestuShapeLayer); ShapeFileFeatureLayer MumbairestulabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\restaurants.shp")); MumbairestulabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbairestulabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbairestulabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\shopping_centre.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaishopShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\shopping_centre.shp")); MumbaishopShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.MintCream, 5); MumbaishopShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaishopShapeLayer); ShapeFileFeatureLayer MumbaishoplabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\shopping_centre.shp")); MumbaishoplabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaishoplabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaishoplabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\stadiums.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaistadiumShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\stadiums.shp")); MumbaistadiumShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.NavajoWhite, 5); MumbaistadiumShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaistadiumShapeLayer); ShapeFileFeatureLayer MumbaistadiumlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\stadiums.shp")); MumbaistadiumlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaistadiumlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaistadiumlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\taxi_stand.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaitaxistndShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\taxi_stand.shp")); MumbaitaxistndShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.OliveDrab, 5); MumbaitaxistndShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaitaxistndShapeLayer); ShapeFileFeatureLayer MumbaitaxistndlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\taxi_stand.shp")); MumbaitaxistndlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaitaxistndlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaitaxistndlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\traffic_light.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaitraficlightShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\traffic_light.shp")); MumbaitraficlightShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.Tomato, 5); MumbaitraficlightShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaitraficlightShapeLayer); ShapeFileFeatureLayer MumbaitraficlightlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\traffic_light.shp")); MumbaitraficlightlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaitraficlightlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaitraficlightlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\water_complaint_office.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiwatrcomofficeShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\water_complaint_office.shp")); MumbaiwatrcomofficeShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.Turquoise, 5); MumbaiwatrcomofficeShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiwatrcomofficeShapeLayer); ShapeFileFeatureLayer MumbaiwatrcomofficelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\water_complaint_office.shp")); MumbaiwatrcomofficelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiwatrcomofficelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiwatrcomofficelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\water_feature.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiwatrfetShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\water_feature.shp")); MumbaiwatrfetShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.RoyalBlue, 5); MumbaiwatrfetShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiwatrfetShapeLayer); ShapeFileFeatureLayer MumbaiwatrfetlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\POINT\water_feature.shp")); MumbaiwatrfetlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiwatrfetlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiwatrfetlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\ANNO\buildings.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaibuildingsShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\ANNO\buildings.shp")); MumbaibuildingsShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.RosyBrown, 5); MumbaibuildingsShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaibuildingsShapeLayer); ShapeFileFeatureLayer MumbaibuildingslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\ANNO\buildings.shp")); MumbaibuildingslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaibuildingslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaibuildingslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\ANNO\industries.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaiindustriesShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\ANNO\industries.shp")); MumbaiindustriesShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.PeachPuff, 5); MumbaiindustriesShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaiindustriesShapeLayer); ShapeFileFeatureLayer MumbaiindustrieslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\ANNO\industries.shp")); MumbaiindustrieslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); MumbaiindustrieslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaiindustrieslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\ANNO\houseno_label.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer MumbaihousenoShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\ANNO\houseno_label.shp")); MumbaihousenoShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.Orchid, 5); MumbaihousenoShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(MumbaihousenoShapeLayer); ShapeFileFeatureLayer MumbaihousenolabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Mumbai\Sample Data\_GIS_MUMBAI\ANNO\houseno_label.shp")); MumbaihousenolabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("TEXT"); MumbaihousenolabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(MumbaihousenolabelLayer); }*/ public void IndiaMap() { ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\indiastates.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer indiaStatesLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\indiastates.shp")); indiaStatesLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.State1; indiaStatesLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(indiaStatesLayer); ShapeFileFeatureLayer indiaStatesLabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\indiastates.shp")); indiaStatesLabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City5("STATE"); indiaStatesLabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; indiaStatesLabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.OverlappingRule = LabelOverlappingRule.NoOverlapping; indiaStatesLabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.GridSize = 10; Map1.DynamicOverlay.Layers.Add(indiaStatesLabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\indiadistricts.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer indiaDistrictsLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\indiadistricts.shp")); indiaDistrictsLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.County2; indiaDistrictsLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(indiaDistrictsLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\indiacities.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer indiaCitiesLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\indiacities.shp")); indiaCitiesLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.City1; indiaCitiesLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; indiaCitiesLayer.DrawingMarginPercentage = 50; Map1.StaticOverlay.Layers.Add(indiaCitiesLayer); ShapeFileFeatureLayer indiaCitiesLabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\indiacities.shp")); indiaCitiesLabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City1("CITY_NAME"); indiaCitiesLabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.PointPlacement = PointPlacement.UpperRight; indiaCitiesLabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.SuppressPartialLabels = false; indiaCitiesLabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; indiaCitiesLabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.GridSize = 10; Map1.DynamicOverlay.Layers.Add(indiaCitiesLabelLayer); } protected void Map1_Click(object sender, MapClickedEventArgs e) { Collection FeatureSelected1 = new Collection(); Collection FeatureSelected2 = new Collection(); Collection FeatureSelected3 = new Collection(); foreach (Layer layer in Map1.DynamicOverlay.Layers) { layer.Open(); { Collection selectedFeatures = ((FeatureLayer)layer).QueryTools.GetFeaturesNearestTo(e.Position, GeographyUnit.DecimalDegree, 1, ReturningColumnsType.AllColumns); double radius = 10.0 / Map1.Width.Value * Map1.CurrentExtent.Width; EllipseShape searchingEllipse = new EllipseShape(e.Position, radius, radius); foreach (Feature feature in selectedFeatures) { BaseShape currentShape = feature.GetShape(); if (currentShape is PointBaseShape) { if (searchingEllipse.Contains(currentShape)) { FeatureSelected3.Add(feature); if (FeatureSelected3.Count > 0) { Collection columns = ((FeatureLayer)layer).QueryTools.GetColumns(); DataTable table = new DataTable(); foreach (FeatureSourceColumn column in columns) { table.Columns.Add(column.ColumnName); } foreach (Feature feature1 in FeatureSelected3) { DataRow row = table.NewRow(); for (int i = 0; i < table.Columns.Count; i++) { row[i] = feature.ColumnValues[table.Columns[i].ColumnName]; } table.Rows.Add(row); break; } this.FeaturesGridView.DataSource = table; this.FeaturesGridView.DataBind(); } } } if (currentShape is LineBaseShape) { if (currentShape.Intersects(searchingEllipse)) { FeatureSelected2.Add(feature); if (FeatureSelected2.Count > 0) { Collection columns = ((FeatureLayer)layer).QueryTools.GetColumns(); DataTable table = new DataTable(); foreach (FeatureSourceColumn column in columns) { table.Columns.Add(column.ColumnName); } foreach (Feature feature1 in FeatureSelected2) { DataRow row = table.NewRow(); for (int i = 0; i < table.Columns.Count; i++) { row[i] = feature.ColumnValues[table.Columns[i].ColumnName]; } table.Rows.Add(row); break; } this.FeaturesGridView.DataSource = table; this.FeaturesGridView.DataBind(); } } } if (currentShape is AreaBaseShape) { if (currentShape.Contains(e.Position)) { FeatureSelected1.Add(feature); if (FeatureSelected1.Count > 0) { Collection columns = ((FeatureLayer)layer).QueryTools.GetColumns(); DataTable table = new DataTable(); foreach (FeatureSourceColumn column in columns) { table.Columns.Add(column.ColumnName); } foreach (Feature feature1 in FeatureSelected1) { DataRow row = table.NewRow(); for (int i = 0; i < table.Columns.Count; i++) { row[i] = feature.ColumnValues[table.Columns[i].ColumnName]; } table.Rows.Add(row); break; } this.FeaturesGridView.DataSource = table; this.FeaturesGridView.DataBind(); } } } } layer.Close(); } } } protected void mumbai_Click(object sender, EventArgs e) { Map1.CurrentExtent = new RectangleShape(72.89614, 19.03134, 72.93060, 19.00902); //MumbaiMap(); ZoomLevelSet zoomLevelSet = new ZoomLevelSet(); Map1.ZoomToScale(20000); } protected void kudankulam_Click(object sender, EventArgs e) { Map1.CurrentExtent = new RectangleShape(77.21627, 8.31280, 77.76833, 7.95744); KudankulamMap(); } protected void delhi_Click(object sender, EventArgs e) { Map1.CurrentExtent = new RectangleShape(77.17173, 28.63311, 77.24074, 28.58848); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\arterial roads.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer arteroadLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\arterial roads.shp")); arteroadLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Urban1; arteroadLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(arteroadLayer); ShapeFileFeatureLayer arteroadlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\arterial roads.shp")); arteroadlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Urban1("BLOCK_NAME"); arteroadlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(arteroadlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\block.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer blockLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\block.shp")); blockLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.County2; blockLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(blockLayer); ShapeFileFeatureLayer blocklabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\block.shp")); blocklabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Urban1("BLOCK"); blocklabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(blocklabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\builtup_area.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer builtupareaLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\builtup_area.shp")); builtupareaLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Country2; builtupareaLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(builtupareaLayer); ShapeFileFeatureLayer builtuparealabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\builtup_area.shp")); builtuparealabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Country2("BLOCK_NAME"); builtuparealabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(builtuparealabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\colony.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer colonyLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\colony.shp")); colonyLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Country1; colonyLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(colonyLayer); ShapeFileFeatureLayer colonylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\colony.shp")); colonylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Country2("COLONY_NAM"); colonylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(colonylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\district boundary.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer districtboundaryLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\district boundary.shp")); districtboundaryLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.Antarctica1; districtboundaryLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(districtboundaryLayer); ShapeFileFeatureLayer districtboundarylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\district boundary.shp")); districtboundarylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Country2("DIST_NAME"); districtboundarylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(districtboundarylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\grid.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer gridLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\grid.shp")); gridLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.County1; gridLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(gridLayer); ShapeFileFeatureLayer girdlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\grid.shp")); girdlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Country2("GRID_NO"); girdlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(girdlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\important roads.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer improadsLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\important roads.shp")); improadsLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.GeographicColors.Highway); improadsLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(improadsLayer); ShapeFileFeatureLayer improadslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\important roads.shp")); improadslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Highway5("Feature"); improadslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(improadslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\industrial area.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer indusareaLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\industrial area.shp")); indusareaLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.StandardColors.LightGoldenrodYellow); indusareaLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(indusareaLayer); ShapeFileFeatureLayer indusarealabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\industrial area.shp")); indusarealabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Sand1("FEATURE"); indusarealabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(indusarealabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\jjc.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer jjcLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\jjc.shp")); jjcLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.StandardColors.LightSalmon); jjcLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(jjcLayer); ShapeFileFeatureLayer jjclabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\jjc.shp")); jjclabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Country2("FEATURE"); jjclabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(jjclabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\main roads.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer mainroadsLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\main roads.shp")); mainroadsLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.GeographicColors.MajorRoad); mainroadsLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(mainroadsLayer); ShapeFileFeatureLayer mainroadslabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\main roads.shp")); mainroadslabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.MajorRoad4("FEATURE"); mainroadslabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(mainroadslabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\page_grid.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer pagegridLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\page_grid.shp")); pagegridLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.StandardColors.LightGray); pagegridLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(mainroadsLayer); ShapeFileFeatureLayer pagegridlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\page_grid.shp")); pagegridlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Country2("APAGE"); pagegridlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(pagegridlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\park_and_garden.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer parkgardenLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\park_and_garden.shp")); parkgardenLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.GeographicColors.Grass); parkgardenLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(parkgardenLayer); ShapeFileFeatureLayer parkgardenlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\park_and_garden.shp")); parkgardenlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Park1("FEATURE"); parkgardenlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(parkgardenlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\shopping_area.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer shopareaLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\shopping_area.shp")); shopareaLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.StandardColors.LightCoral); shopareaLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(shopareaLayer); ShapeFileFeatureLayer shoparealabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\shopping_area.shp")); shoparealabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Evergreen2("FEATURE"); shoparealabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(shoparealabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\subways.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer subwayLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\subways.shp")); subwayLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.GeographicColors.Road); subwayLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(subwayLayer); ShapeFileFeatureLayer subwaylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\subways.shp")); subwaylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.State2("FEATURE"); subwaylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(subwaylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\water_body.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer waterbodyLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\water_body.shp")); waterbodyLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.GeographicColors.Lake); waterbodyLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(waterbodyLayer); ShapeFileFeatureLayer waterbodylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\water_body.shp")); waterbodylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Water2("FEATURE"); waterbodylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(waterbodylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\wooded_area.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer woodareaLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\wooded_area.shp")); woodareaLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.GeographicColors.Forest); woodareaLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(woodareaLayer); ShapeFileFeatureLayer woodarealabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POLYGON\wooded_area.shp")); woodarealabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("FEATURE"); woodarealabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(woodarealabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\bridge.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer bridgeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\bridge.shp")); bridgeLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.SecondaryRoad2; bridgeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(bridgeLayer); ShapeFileFeatureLayer bridgelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\bridge.shp")); bridgelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.SecondaryRoad2("FEATURE"); bridgelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(bridgelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\central_verge.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer centralvergeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\central_verge.shp")); centralvergeLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.InternationalBorder2; centralvergeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(centralvergeLayer); ShapeFileFeatureLayer centralvergelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\central_verge.shp")); centralvergelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.InternationalBorder2("FEATURE"); centralvergelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(centralvergelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\metro_line.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer metrolineLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\metro_line.shp")); metrolineLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.Interstate2; metrolineLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(metrolineLayer); ShapeFileFeatureLayer metrolinelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\metro_line.shp")); metrolinelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.InternationalBorder2("FEATURE"); metrolinelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(metrolinelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\rail_line.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer raillineLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\rail_line.shp")); raillineLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.Railway1; raillineLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(raillineLayer); ShapeFileFeatureLayer raillinelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\rail_line.shp")); raillinelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Railway4("FEATURE"); raillinelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(raillinelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\road_network.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer roadLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\road_network.shp")); roadLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.MajorStreet3; roadLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(roadLayer); ShapeFileFeatureLayer roadlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\road_network.shp")); roadlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.MajorRoad4("FEATURE"); roadlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(roadlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\water_line.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer waterlineLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\water_line.shp")); waterlineLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.Pipeline2; waterlineLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(waterlineLayer); ShapeFileFeatureLayer waterlinelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\LINE\water_line.shp")); waterlinelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Pipeline3("FEATURE"); waterlinelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(waterlinelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\airline and travel agency.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer travelagencyShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\airline and travel agency.shp")); travelagencyShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.SimpleColors.Red, 5); travelagencyShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(travelagencyShapeLayer); ShapeFileFeatureLayer travelagencylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\airline and travel agency.shp")); travelagencylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); travelagencylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(travelagencylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\airport.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer airportShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\airport.shp")); airportShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.Red, 5); airportShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(airportShapeLayer); ShapeFileFeatureLayer airportlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\airport.shp")); airportlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); airportlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(airportlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\annual fare.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer annualfareShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\annual fare.shp")); annualfareShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.Black, 5); annualfareShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(annualfareShapeLayer); ShapeFileFeatureLayer annualfarelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\annual fare.shp")); annualfarelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); annualfarelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(annualfarelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\apartment.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer apartmntShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\apartment.shp")); apartmntShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.BrightBlue, 5); apartmntShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(apartmntShapeLayer); ShapeFileFeatureLayer apartmntlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\apartment.shp")); apartmntlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Railway4("NAME"); apartmntlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(apartmntlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\art and cultural institute.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer artinstShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\art and cultural institute.shp")); artinstShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond2, GeoColor.SimpleColors.BrightBlue, 5); artinstShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(artinstShapeLayer); ShapeFileFeatureLayer artinstlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\art and cultural institute.shp")); artinstlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.SeaIce1("NAME"); artinstlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(artinstlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\art gallary.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer artgallaryShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\art gallary.shp")); artgallaryShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond2, GeoColor.SimpleColors.BrightOrange, 5); artgallaryShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(artgallaryShapeLayer); ShapeFileFeatureLayer artgallarylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\art gallary.shp")); artgallarylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.SeaIce1("NAME"); artgallarylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(artgallarylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\auditorium.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer auditoriumShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\auditorium.shp")); auditoriumShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond2, GeoColor.SimpleColors.BrightRed, 5); auditoriumShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(auditoriumShapeLayer); ShapeFileFeatureLayer auditoriumlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\auditorium.shp")); auditoriumlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.SeaIce1("NAME"); auditoriumlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(auditoriumlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\bank.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer bankShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\bank.shp")); bankShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond2, GeoColor.SimpleColors.DarkBlue, 5); bankShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(bankShapeLayer); ShapeFileFeatureLayer banklabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\bank.shp")); banklabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Swamp2("NAME"); banklabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(banklabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\banquet and marriage hall.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer hallShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\banquet and marriage hall.shp")); hallShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Star2, GeoColor.SimpleColors.DarkOrange, 5); hallShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(hallShapeLayer); ShapeFileFeatureLayer halllabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\banquet and marriage hall.shp")); halllabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Utility3("NAME"); halllabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(halllabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\building.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer buildingShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\building.shp")); buildingShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Star2, GeoColor.SimpleColors.LightBlue, 5); buildingShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(buildingShapeLayer); ShapeFileFeatureLayer buildinglabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\building.shp")); buildinglabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); buildinglabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(buildinglabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\burial ground.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer burygroundShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\burial ground.shp")); burygroundShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.Black, 5); burygroundShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(burygroundShapeLayer); ShapeFileFeatureLayer burygroundlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\burial ground.shp")); burygroundlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); burygroundlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(burygroundlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\bus depot.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer busdepotShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\bus depot.shp")); busdepotShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.Copper, 5); busdepotShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(busdepotShapeLayer); ShapeFileFeatureLayer busdepotlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\bus depot.shp")); busdepotlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.ContestedBorder2("NAME"); busdepotlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(busdepotlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\cemetery.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer cemeteryShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\cemetery.shp")); cemeteryShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.Black, 5); cemeteryShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(cemeteryShapeLayer); ShapeFileFeatureLayer cemeterylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\cemetery.shp")); cemeterylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.ContestedBorder2("NAME"); cemeterylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(cemeterylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\chowk.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer chowkShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\chowk.shp")); chowkShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.Yellow, 5); chowkShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(chowkShapeLayer); ShapeFileFeatureLayer chowklabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\chowk.shp")); chowklabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.ContestedBorder2("NAME"); chowklabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(chowklabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\cinema.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer cinemaShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\cinema.shp")); cinemaShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Star, GeoColor.SimpleColors.PastelRed, 5); cinemaShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(cinemaShapeLayer); ShapeFileFeatureLayer cinemalabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\cinema.shp")); cinemalabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City6("NAME"); cinemalabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(cinemalabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\club.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer clubShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\club.shp")); clubShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Star, GeoColor.SimpleColors.PastelOrange, 5); clubShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(clubShapeLayer); ShapeFileFeatureLayer clublabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\club.shp")); clublabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City6("NAME"); clublabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(clublabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\cng station.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer cngstnShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\cng station.shp")); cngstnShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.SimpleColors.PastelOrange, 5); cngstnShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(cngstnShapeLayer); ShapeFileFeatureLayer cngstnlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\cng station.shp")); cngstnlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); cngstnlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(cngstnlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\community centre.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer communitycentreShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\community centre.shp")); communitycentreShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Cross, GeoColor.SimpleColors.PastelOrange, 5); communitycentreShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(communitycentreShapeLayer); ShapeFileFeatureLayer communitycentrelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\community centre.shp")); communitycentrelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); communitycentrelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(communitycentrelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\court.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer courtShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\court.shp")); courtShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.SimpleColors.Black, 5); courtShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(courtShapeLayer); ShapeFileFeatureLayer courtlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\court.shp")); courtlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); courtlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(courtlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\cremation ground.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer cremationgrndShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\cremation ground.shp")); cremationgrndShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.SimpleColors.Black, 5); cremationgrndShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(cremationgrndShapeLayer); ShapeFileFeatureLayer cremationgrndlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\cremation ground.shp")); cremationgrndlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); cremationgrndlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(cremationgrndlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\dharamshala.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer dharamshalaShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\dharamshala.shp")); dharamshalaShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.SimpleColors.Gold, 5); dharamshalaShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(dharamshalaShapeLayer); ShapeFileFeatureLayer dharamshalalabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\dharamshala.shp")); dharamshalalabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City6("NAME"); dharamshalalabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(dharamshalalabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\educational training institute.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer eduinstShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\educational training institute.shp")); eduinstShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Star, GeoColor.SimpleColors.Gold, 5); eduinstShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(eduinstShapeLayer); ShapeFileFeatureLayer eduinstlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\educational training institute.shp")); eduinstlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); eduinstlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(eduinstlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\embassy.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer embassyShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\embassy.shp")); embassyShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.SimpleColors.LightOrange, 5); embassyShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(embassyShapeLayer); ShapeFileFeatureLayer embassylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\embassy.shp")); embassylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); embassylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(embassylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\farm.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer farmShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\farm.shp")); farmShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond2, GeoColor.SimpleColors.DarkGreen, 5); farmShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(farmShapeLayer); ShapeFileFeatureLayer farmlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\farm.shp")); farmlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); farmlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(farmlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\guest house.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer guesthouseShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\guest house.shp")); guesthouseShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond2, GeoColor.SimpleColors.LightRed, 5); guesthouseShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(guesthouseShapeLayer); ShapeFileFeatureLayer guesthouselabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\guest house.shp")); guesthouselabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); guesthouselabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(guesthouselabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\historical place.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer historyplaceShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\historical place.shp")); historyplaceShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Star, GeoColor.SimpleColors.Orange, 5); historyplaceShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(historyplaceShapeLayer); ShapeFileFeatureLayer historyplacelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\historical place.shp")); historyplacelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Capital3("NAME"); historyplacelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(historyplacelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\hospital.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer hospitalShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\hospital.shp")); hospitalShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.Black, 5); hospitalShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(hospitalShapeLayer); ShapeFileFeatureLayer hospitalplacelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\hospital.shp")); hospitalplacelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Capital3("NAME"); hospitalplacelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(hospitalplacelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\hostel.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer hostelShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\hostel.shp")); hostelShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.SimpleColors.Black, 5); hostelShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(hostelShapeLayer); ShapeFileFeatureLayer hostellabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\hostel.shp")); hostellabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Capital3("NAME"); hostellabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(hostellabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\hotel.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer hotelShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\hotel.shp")); hotelShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond, GeoColor.SimpleColors.Black, 5); hotelShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(hotelShapeLayer); ShapeFileFeatureLayer hotellabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\hotel.shp")); hotellabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Capital3("NAME"); hotellabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(hotellabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\industry.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer industryShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\industry.shp")); industryShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Diamond, GeoColor.SimpleColors.BrightOrange, 5); industryShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(industryShapeLayer); ShapeFileFeatureLayer industrylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\industry.shp")); industrylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Capital3("NAME"); industrylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(industrylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\institution.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer instiShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\institution.shp")); instiShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.BrightOrange, 5); instiShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(instiShapeLayer); ShapeFileFeatureLayer instilabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\institution.shp")); instilabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Capital3("NAME"); instilabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(instilabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\isbt.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer isbtShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\isbt.shp")); isbtShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.SimpleColors.BrightBlue, 5); isbtShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(isbtShapeLayer); ShapeFileFeatureLayer isbtlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\isbt.shp")); isbtlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.Capital3("NAME"); isbtlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(isbtlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\library.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer libraryShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\library.shp")); libraryShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Star, GeoColor.SimpleColors.DarkRed, 5); libraryShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(libraryShapeLayer); ShapeFileFeatureLayer librarylabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\library.shp")); librarylabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); librarylabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(librarylabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\metro stations.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer metrostnShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\metro stations.shp")); metrostnShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Triangle, GeoColor.SimpleColors.DarkRed, 5); metrostnShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(metrostnShapeLayer); ShapeFileFeatureLayer metrostnlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\metro stations.shp")); metrostnlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); metrostnlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(metrostnlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\milk booth.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer milkboothShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\milk booth.shp")); milkboothShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Triangle, GeoColor.StandardColors.NavajoWhite, 5); milkboothShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(milkboothShapeLayer); ShapeFileFeatureLayer milkboothlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\milk booth.shp")); milkboothlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); milkboothlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(milkboothlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\museum.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer museumShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\museum.shp")); museumShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Star, GeoColor.StandardColors.MistyRose, 5); museumShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(museumShapeLayer); ShapeFileFeatureLayer museumlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\museum.shp")); museumlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); museumlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(museumlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\office.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer officeShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\office.shp")); officeShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.MistyRose, 5); officeShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(officeShapeLayer); ShapeFileFeatureLayer officelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\office.shp")); officelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); officelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(officelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\over head tank.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer overtankShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\over head tank.shp")); overtankShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.MidnightBlue, 5); overtankShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(overtankShapeLayer); ShapeFileFeatureLayer overtanklabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\over head tank.shp")); overtanklabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); overtanklabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(overtanklabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\park and garden.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer parkgardenShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\park and garden.shp")); parkgardenShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.PaleGreen, 5); parkgardenShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(parkgardenShapeLayer); ShapeFileFeatureLayer parkgarden1labelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\park and garden.shp")); parkgarden1labelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); parkgarden1labelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(parkgarden1labelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\petrol pump.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer petrolpumpShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\petrol pump.shp")); petrolpumpShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.PowderBlue, 5); petrolpumpShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(petrolpumpShapeLayer); ShapeFileFeatureLayer petrolpumplabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\petrol pump.shp")); petrolpumplabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); petrolpumplabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(petrolpumplabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\place of worship.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer worshipplaceShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\place of worship.shp")); worshipplaceShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Star, GeoColor.StandardColors.SaddleBrown, 5); worshipplaceShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(worshipplaceShapeLayer); ShapeFileFeatureLayer worshipplacelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\place of worship.shp")); worshipplacelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); worshipplacelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(worshipplacelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\Police chowki.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer policechowkiShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\Police chowki.shp")); policechowkiShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Star, GeoColor.StandardColors.Khaki, 5); policechowkiShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(policechowkiShapeLayer); ShapeFileFeatureLayer policechowkilabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\Police chowki.shp")); policechowkilabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); policechowkilabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(policechowkilabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\police station.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer policestnShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\police station.shp")); policestnShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.Khaki, 5); policestnShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(policestnShapeLayer); ShapeFileFeatureLayer policestnlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\police station.shp")); policestnlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); policestnlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(policestnlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\post and telegraph office.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer postofficeShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\post and telegraph office.shp")); postofficeShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.Indigo, 5); postofficeShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(postofficeShapeLayer); ShapeFileFeatureLayer postofficelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\post and telegraph office.shp")); postofficelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); postofficelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(postofficelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\railway reservation centre.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer reservationShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\railway reservation centre.shp")); reservationShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.Ivory, 5); reservationShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(reservationShapeLayer); ShapeFileFeatureLayer reservationlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\railway reservation centre.shp")); reservationlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); reservationlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(reservationlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\railway station.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer railwaystnShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\railway station.shp")); railwaystnShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.LemonChiffon, 5); railwaystnShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(railwaystnShapeLayer); ShapeFileFeatureLayer railwaystnlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\railway station.shp")); railwaystnlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); railwaystnlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(railwaystnlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\restaurant.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer restruantShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\restaurant.shp")); restruantShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Square, GeoColor.StandardColors.LightGoldenrodYellow, 5); restruantShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(restruantShapeLayer); ShapeFileFeatureLayer restruantlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\restaurant.shp")); restruantlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); restruantlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(restruantlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\school.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer schoolShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\school.shp")); schoolShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Star, GeoColor.StandardColors.LightGoldenrodYellow, 5); schoolShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(schoolShapeLayer); ShapeFileFeatureLayer schoollabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\school.shp")); schoollabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); schoollabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(schoollabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\shopping centre.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer shoppingcentreShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\shopping centre.shp")); shoppingcentreShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Star, GeoColor.StandardColors.LightPink, 5); shoppingcentreShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(shoppingcentreShapeLayer); ShapeFileFeatureLayer shoppingcentrelabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\shopping centre.shp")); shoppingcentrelabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); shoppingcentrelabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(shoppingcentrelabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\sport and stadium.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer sportstadiumShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\sport and stadium.shp")); sportstadiumShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.StandardColors.LightSteelBlue, 5); sportstadiumShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(sportstadiumShapeLayer); ShapeFileFeatureLayer sportstadiumlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\sport and stadium.shp")); sportstadiumlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); sportstadiumlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(sportstadiumlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\taxi stand.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer taxistandShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\taxi stand.shp")); taxistandShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.StandardColors.MediumBlue, 5); taxistandShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(taxistandShapeLayer); ShapeFileFeatureLayer taxistandlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\taxi stand.shp")); taxistandlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); taxistandlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(taxistandlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\tourist information system.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer touristinfoShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\tourist information system.shp")); touristinfoShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.StandardColors.MediumVioletRed, 5); touristinfoShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(touristinfoShapeLayer); ShapeFileFeatureLayer touristinfolabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\tourist information system.shp")); touristinfolabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); touristinfolabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(touristinfolabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\traffic light.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer lighttrafficShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\traffic light.shp")); lighttrafficShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.StandardColors.Moccasin, 5); lighttrafficShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(lighttrafficShapeLayer); ShapeFileFeatureLayer lighttrafficlabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\POINT\traffic light.shp")); lighttrafficlabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); lighttrafficlabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(lighttrafficlabelLayer); ShapeFileFeatureSource.BuildIndexFile(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\ANNOTATION\house no labels.shp"), BuildIndexMode.DoNotRebuild); ShapeFileFeatureLayer housenolabelShapeLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\ANNOTATION\house no labels.shp")); housenolabelShapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle = PointStyles.CreateSimplePointStyle(PointSymbolType.Circle, GeoColor.StandardColors.OliveDrab, 5); housenolabelShapeLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.StaticOverlay.Layers.Add(housenolabelShapeLayer); ShapeFileFeatureLayer housenolabellabelLayer = new ShapeFileFeatureLayer(MapPath(@"~\App_Data\GIS DATA\Delhi\Delhi_GIS\ANNOTATION\house no labels.shp")); housenolabellabelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle = TextStyles.City7("NAME"); housenolabellabelLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Map1.DynamicOverlay.Layers.Add(housenolabellabelLayer); } } }