Hello.
I'm adding a layer to my map that appears only at zoomlevel07 and above. I have set the defaultLineStyle on each level explicitly, but it still does not appear. Using V3.1. Can you please advise? Upgrading not an option at this time.
Code follows:
Private
Sub RenderYoko(ByRef layer As ShapeFileFeatureLayer) "Yoko"
layer.RequireIndex =
False
Dim proj4 As Proj4Projection = New Proj4Projection()
proj4.InternalProjectionParametersString = internalProjectionString
Dim internalProjectionString As String = Proj4Projection.GetEpsgParametersString(2451)
proj4.ExternalProjectionParametersString = Proj4Projection.GetEpsgParametersString(4326)
layer.FeatureSource.Projection = proj4layer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel02.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel02.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel03.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel04.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel05.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel06.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel07.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel08.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel09.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel10.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel11.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel12.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel13.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel14.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel15.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel16.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel17.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel18.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel19.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
layer.ZoomLevelSet.ZoomLevel20.DefaultLineStyle.OuterPen.Color = GeoColor.FromArgb(50, GeoColor.StandardColors.Red)
staticLayers.Add(layer)
End Sub
layer.Name =