This one is my code and the problem is that it loads the web but I do not visualize the map
you can help me
Protected
Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.LoadIf (Not Page.IsPostBack) Then
Map1.BackgroundFillBrush =
Map1.CurrentExtent =
Map1.MapUnit = GeographyUnit.DecimalDegree
New GeoSolidBrush(GeoColor.FromHtml("#B3C6D4"))New RectangleShape(-114.34, 75.27, 108.79, -70.23)
Dim
mapanavarra =
mapanavarra As ShapeFileLayerNew ShapeFileLayer("c:\navarra\Navarra.shp")
mapanavarra.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.GetSimpleAreaStyle(GeoColor.FromArgb(255, 243, 239, 228), GeoColor.FromArgb(255, 218, 193, 163), 1)
mapanavarra.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20
Map1.StaticLayers.Add(
"MapaNavarra", mapanavarra)
Map1.ScaleLine.Enabled =
True
Map1.PanZoomBar.Enabled =
True
Map1.MousePosition.Enabled =
True
Map1.LayerSwitcher.Enabled =
True
Map1.Overview.Enabled =
True
End
If
End Sub