I am interested in using the map control of version 2016.1. This would be an incentive for us to upgrade from our currently used version 2015.1.
But i was unable to find any documentation or sample for the map control. Any pointers would be helpful.
I tried to make it work but i always got index out-of range errors during the preview when i had my data source connected.
Thanks
Markus Weiss-Ehlers
Map Control in 2016.1 - Documentation Missing
Re: Map Control in 2016.1 - Documentation Missing
Hello Markus,
We will try to prepare a documentation and samples to the next major release which will in September.
> I tried to make it work but i always got index out-of range errors during the preview when i had my data source connected.
Can you please send us a sample with test data which reproduces the issue for analysis.
Thank you.
We will try to prepare a documentation and samples to the next major release which will in September.
> I tried to make it work but i always got index out-of range errors during the preview when i had my data source connected.
Can you please send us a sample with test data which reproduces the issue for analysis.
Thank you.
Re: Map Control in 2016.1 - Documentation Missing
I got it working now in WPF an WinForms Designer. Thank you. But still, a documentation including the gauge control as well would be helpful.
Just one additional issue I am facing. I am able to define a Map Style but i am unable to assign it to my map control. In the WinForms Designer, i am unable to assign my custom style. The style is not selectable, neither in the Map control nor in the property grid as component style.
But even worse in the WPF Designers. V1 and V2 do not seem to support the Map Style at all. Even worse in V2 i get an exception when a try to use the Style Designer, when i do have a map style in my report definition. See "object reference not set" exception below. I was using the latest build 2016.1.27.0 on a Windows 10 64 Bit system.
----------------------------
[General Info]
Application: Stimulsoft Reports
Framework: v4.0.30319
Version: Version: 2016.1.27 from 19 August 2016
OSVersion: Microsoft Windows NT 6.2.9200.0
----------------------------
[Exception Info]
Message: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Source: Stimulsoft.Client.Designer
StackTrace:
bei Stimulsoft.Client.Designer.Components.StiCloudStyleDesignerWindow.<BuildAsync>d__17.MoveNext() in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Client.Designer\Components\Styles\StiCloudStyleDesignerWindow.xaml.cs:Zeile 291.
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Stimulsoft.Client.Designer.Components.StiCloudStyleDesignerWindow.<WindowActive>d__22.MoveNext() in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Client.Designer\Components\Styles\StiCloudStyleDesignerWindow.xaml.cs:Zeile 398.
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Windows.Threading.DispatcherOperation.Invoke()
bei System.Windows.Threading.Dispatcher.ProcessQueue()
bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
bei System.Windows.Window.ShowHelper(Object booleanBox)
bei System.Windows.Window.ShowDialog()
bei Stimulsoft.Client.Designer.Native.StiWpfDesignerLauncherWindow.ShowDesigner(StiReport report) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Client.Designer\Native\Launcher\StiWpfDesignerLauncherWindow.xaml.cs:Zeile 134.
bei DesignerV2.Wpf.App.OnStartup(StartupEventArgs e)
----------------------------
[Assemblies]
mscorlib, Version = 4.0.0.0
PresentationFramework, Version = 4.0.0.0
Stimulsoft.Base, Version = 2016.1.27.0
Stimulsoft.Client.Designer, Version = 2016.1.27.0
Stimulsoft.Report, Version = 2016.1.27.0
Stimulsoft.Report.Wpf, Version = 2016.1.27.0
System, Version = 4.0.0.0
System.Core, Version = 4.0.0.0
Just one additional issue I am facing. I am able to define a Map Style but i am unable to assign it to my map control. In the WinForms Designer, i am unable to assign my custom style. The style is not selectable, neither in the Map control nor in the property grid as component style.
But even worse in the WPF Designers. V1 and V2 do not seem to support the Map Style at all. Even worse in V2 i get an exception when a try to use the Style Designer, when i do have a map style in my report definition. See "object reference not set" exception below. I was using the latest build 2016.1.27.0 on a Windows 10 64 Bit system.
----------------------------
[General Info]
Application: Stimulsoft Reports
Framework: v4.0.30319
Version: Version: 2016.1.27 from 19 August 2016
OSVersion: Microsoft Windows NT 6.2.9200.0
----------------------------
[Exception Info]
Message: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Source: Stimulsoft.Client.Designer
StackTrace:
bei Stimulsoft.Client.Designer.Components.StiCloudStyleDesignerWindow.<BuildAsync>d__17.MoveNext() in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Client.Designer\Components\Styles\StiCloudStyleDesignerWindow.xaml.cs:Zeile 291.
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Stimulsoft.Client.Designer.Components.StiCloudStyleDesignerWindow.<WindowActive>d__22.MoveNext() in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Client.Designer\Components\Styles\StiCloudStyleDesignerWindow.xaml.cs:Zeile 398.
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Windows.Threading.DispatcherOperation.Invoke()
bei System.Windows.Threading.Dispatcher.ProcessQueue()
bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
bei System.Windows.Window.ShowHelper(Object booleanBox)
bei System.Windows.Window.ShowDialog()
bei Stimulsoft.Client.Designer.Native.StiWpfDesignerLauncherWindow.ShowDesigner(StiReport report) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Client.Designer\Native\Launcher\StiWpfDesignerLauncherWindow.xaml.cs:Zeile 134.
bei DesignerV2.Wpf.App.OnStartup(StartupEventArgs e)
----------------------------
[Assemblies]
mscorlib, Version = 4.0.0.0
PresentationFramework, Version = 4.0.0.0
Stimulsoft.Base, Version = 2016.1.27.0
Stimulsoft.Client.Designer, Version = 2016.1.27.0
Stimulsoft.Report, Version = 2016.1.27.0
Stimulsoft.Report.Wpf, Version = 2016.1.27.0
System, Version = 4.0.0.0
System.Core, Version = 4.0.0.0
Re: Map Control in 2016.1 - Documentation Missing
Hello.
Sorry for this error.
We will fix it and let you know when you can download the fixed build.
Thank you.
Sorry for this error.
We will fix it and let you know when you can download the fixed build.
Thank you.
Re: Map Control in 2016.1 - Documentation Missing
Hello,
The issue is fixed.
Also, we almost prepared documentation and samples with Map component.
Thank you.
The issue is fixed.
Also, we almost prepared documentation and samples with Map component.
Thank you.