Hi all,
I'm a new user with MapSuite, and is currently evaluating it. I downloaded and installed it today.In VS 2008 I've built a small windows application with vb.net. I've used the online demo as a guide line.After running the application it shows word "Unlicensed" ! I'm aware this is trial version, but why not map is showing?
Here I am putiing my code sample,
Dim staticOverlay as new LayerOverlay()
staticOverlay.Layers.Add("WorldLayer", worldLayer)
WinformsMap1.Overlays.Add(staticOverlay)
worldLayer.Open()
Dim allColumns As Collection(Of FeatureSourceColumn) = worldLayer.QueryTools.GetColumns()
worldLayer.Close()
WinformsMap1.Refresh()
Please help with this problem.
Regards
Sanjay
WinformsMap1.MapUnit = GeographyUnit.DecimalDegree
WinformsMap1.ThreadingMode = MapThreadingMode.SingleThreaded
WinformsMap1.CurrentExtent =New RectangleShape(-2, 1, 2, -1)
WinformsMap1.BackgroundOverlay.BackgroundBrush = New GeoSolidBrush(GeoColor.GeographicColors.ShallowOcean)
Dim worldLayer As New TabFileFeatureLayer("D:\TestSuite\TestSuite\MAP Files\UP.TAB", "FID")worldLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.FromArgb(100, GeoColor.SimpleColors.Green), GeoColor.SimpleColors.Green)worldLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20