See my
earlier post related to zooming issues: thinkgeo.com/forums/tabid/14...fault.aspx
Now that
I'm using DLL 7.0.313.0, I can zoom in and out on the map by scrolling without
exceptions occurring, unless I'm drawing. By drawing I mean that the trackmode is
for example set to Trackmode.Line (or something else other than .None) and I've
already added one or more vertices by clicking somewhere, but I haven't ended
the track yet (for which I would have to double click).
The Exception: "Object reference not set
to an instance of an object."
Stacktrace:
at 3RM=.KzQ=.LjQ=(Byte[] LzQ=)
at
ThinkGeo.MapSuite.Core.Feature.GetBoundingBoxCore()
at
ThinkGeo.MapSuite.Core.Feature.GetBoundingBox()
at
ThinkGeo.MapSuite.Core.InMemoryFeatureSource.HzQ=(RectangleShape IDQ=,
IEnumerable`1 ITQ=)
at
ThinkGeo.MapSuite.Core.InMemoryFeatureSource.GetFeaturesInsideBoundingBoxCore(RectangleShape
boundingBox, IEnumerable`1 returningColumnNames)
at
ThinkGeo.MapSuite.Core.FeatureSource.GetFeaturesForDrawingCore(RectangleShape
boundingBox, Double screenWidth, Double screenHeight, IEnumerable`1
returningColumnNames)
at
ThinkGeo.MapSuite.Core.FeatureSource.GetFeaturesForDrawing(RectangleShape
boundingBox, Double screenWidth, Double screenHeight, IEnumerable`1
returningColumnNames)
at ThinkGeo.MapSuite.Core.FeatureLayer.DrawCore(GeoCanvas
canvas, Collection`1 labelsInAllLayers)
at
ThinkGeo.MapSuite.Core.Layer.Draw(GeoCanvas canvas, Collection`1
labelsInAllLayers)
at
ThinkGeo.MapSuite.DesktopEdition.TrackInteractiveOverlay.DrawCore(GeoCanvas canvas)
at
ThinkGeo.MapSuite.DesktopEdition.Overlay.qhM=(GeoCanvas qxM=)
at
ThinkGeo.MapSuite.DesktopEdition.Overlay.Draw(GeoCanvas canvas)
at
ThinkGeo.MapSuite.DesktopEdition.WinformsMap.bxU=(IEnumerable`1 cBU=,
RectangleShape cRU=)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.bBU=(RectangleShape
bRU=, RectangleShape bhU=)
at
ThinkGeo.MapSuite.DesktopEdition.WinformsMap.vBU=(RectangleShape vRU=)
at
ThinkGeo.MapSuite.DesktopEdition.WinformsMap.thU=(Int32 txU=, RectangleShape
uBU=)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.rxU=(InteractionArguments
sBU=)
at
ThinkGeo.MapSuite.DesktopEdition.WinformsMap.kBU=(Object kRU=, Phc= khU=)
at
ThinkGeo.MapSuite.DesktopEdition.MouseEventAnalyzer.OnMouseEvent(Phc= e)
at ThinkGeo.MapSuite.DesktopEdition.MouseEventAnalyzer.TRU=(Double
ThU=, Double TxU=, Double UBU=, Double URU=, Int32 UhU=)
at
ThinkGeo.MapSuite.DesktopEdition.WinformsMap.rBU=(Object rRU=, MouseEventArgs
rhU=)
at
System.Windows.Forms.Control.OnMouseWheel(MouseEventArgs e)
at
System.Windows.Forms.Control.WmMouseWheel(Message& m)
at
System.Windows.Forms.Control.WndProc(Message& m)
at
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at
System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at
System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
at
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr
dwComponentID, Int32 reason, Int32 pvLoopData)
at
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context)
at
System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason,
ApplicationContext context)
at System.Windows.Forms.Application.Run(Form
mainForm)
at MyProgram.Program.Main() in C:\...\Program.cs:line
18
at
System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String
assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at
System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at
System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
reserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx)
at
System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state)
at
System.Threading.ThreadHelper.ThreadStart()