Hi, we use the map control in our application.
We get random KeyNotFoundException in TilesDownloadManager when zooming in...
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. in System.Collections.Concurrent.ConcurrentDictionary`2.get_Item(TKey key) in Telerik.Windows.Controls.Map.TilesDownloadManager.UpdateTileCache() in Telerik.Windows.Controls.Map.TilesDownloadManager.Process() in Telerik.Windows.Controls.Map.TilesDownloadManager.DownloaderThread() in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) in System.Threading.ThreadHelper.ThreadStart()
System.Collections.Generic.KeyNotFoundException in System.Collections.Concurrent.ConcurrentDictionary`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Item(System.__Canon) in Telerik.Windows.Controls.Map.TilesDownloadManager.RemoveTile(Telerik.Windows.Controls.Map.TileId) in Telerik.Windows.Controls.Map.TilesDownloadManager.RemoveL1Cache() in System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) in System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) in System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) in System.Threading.ThreadHelper.ThreadStart()
We use OpenStreetMapProvider and don't use tile caching.
When you inherit BingRestMapProvider and BingRestTileMapSource, following the custom map provider approach
https://docs.telerik.com/devtools/wpf/controls/radmap/how-to/howto-custom-provider
the map does not display any tiles. This is due to internal property TopLayer not set correctly to the TileMapSource class.
Good Afternoon,
we use the RadMap's SelectionRectangleChanged event to allow the user to (de)select map elements with the box. In the event handler we use the layer's GetItemsInRectangle function to see what is within the selected area but this is where we encounter a problem with LineData objects. Dragging a selection rectangle that does not touch an edge but is close enough to it (likely within the bounding box of the LineData) it incorrectly recognizes the line as within the rectangle. See the attached screenshot for an example of a selection rectangle that should contain no elements within but actually reports the long line to its right as an element it contains. This can also be reproduced with the attached project:
Regards
Dominik Schacht
Hello,
after setting the `ZoomStep` in our project to something smaller than 1 (a feature we are very pleased to receive in the latest update) we encountered a problem when zooming in and out of our map view. I have attached screenshots and an example project to reproduce the issue. It occurs wether the renderer is set to SoftwareOnly or default.
Steps to reproduce:
Using wraparound True and Virtualization in VisualizationLayer.
When panning from left to right and placing rectangles over the requested regions, a gap could be seen on the left side. This is because the regions that get into viewport fire data request event when their top left point is inside the viewport. To cover the viewport, the topright point of the regions should be used instead.