Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Padding for MapGeometryView

$
0
0

Hi Petar,

I'm not sure if I understood, is the way I did thing in the second sample project is good or bad ? I experienced some problem with this solution since I post it, I receive exception at random time when the shapes are refreshed :

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at Telerik.Windows.Controls.Map.PathGeometryData.GetScreenGeometry(LogicalToScreenParameters logicalToScreenParameters, Point basePoint)
   at Telerik.Windows.Controls.Map.PathData.GetScreenGeometry(Int32 zoomLevel)
   at Telerik.Windows.Controls.Map.MapShapeData.CalculateScreenGeometry(Int32 zoomLevel, Boolean raisePropertyChanged)
   at Telerik.Windows.Controls.Map.ShapeCoordinatesProcessor.StartProcessing(Object paramObject)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

I've not been able to isolate the problem neither to reproduce it with specific steps, it just happens sometimes.​ Do you have any idea of what could be the problem ?

Thank you,

Etienne


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>