Under Review
Last Updated: 20 Nov 2024 14:31 by Anthony
Created by: Anthony
Comments: 2
Category: Map
Type: Bug Report
0

Hello, I get KeyNotFoundException (ConcurrentDictionary) error in RemoveTile method:

Telerik.Windows.Controls.Map.TilesDownloadManager:

  • private void Dispose() 
  • private void RemoveL1Cache() 
  • private void RemoveTile(TileId key)

I wrote about it here: https://feedback.telerik.com/wpf/1656461-keynotfoundexception-when-zooming-in
But in version 2024.4.1111 only 1 problem was fixed...

ConcurrentDictionary<TileId, TileSource> requests may not contain TileId key in RemoveTile.

Can you fix this in the next release?

Completed
Last Updated: 12 Nov 2024 08:17 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)
A FormatException is raised when using the ToString and Parse methods of the Location class when it has small values for latitude and longitude.
Completed
Last Updated: 12 Nov 2024 08:17 by ADMIN
Release Telerik UI for WPF 2024.4.1111 (2024 Q4)
Created by: Anthony
Comments: 15
Category: Map
Type: Bug Report
3

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.

Unplanned
Last Updated: 12 Sep 2024 06:58 by Martin Ivanov

Add built-in support for elevation, routing and search location services coming from the Azure Maps service. These are the same features as in the BingRestMapProvider, which will be obsolete in 2025.

Unplanned
Last Updated: 09 Aug 2024 11:22 by Martin Ivanov
Created by: Martin Ivanov
Comments: 0
Category: Map
Type: Feature Request
0
Add a built-in API that can be invoked from the AzureMapProvider. The API should allow you to search for locations similar to the BingRestMapProvider's search location API.
Unplanned
Last Updated: 04 Jun 2024 09:45 by ADMIN

i have UriVectorTileMapProvider and i have files pbf.

When i create my style file json i cant get render corectly.

i have two example:

1)one in my style json i have three layers:buildings,military,hospital (ex1.png)

When I use such a file, one polygon is lying with buildings on top where the other polygon covers the buildings

 "layers": [
    {
      "id": "landcover_wood",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landuse",
      "filter": [
        "==",
        "class",
        "military"
      ],
      "layout": {
        "visibility": "visible"
      },
      "paint": {
        "fill-color": "green"
      }
    },
    {
      "id": "landcover_hos",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landuse",
      "filter": [
        "==",
        "class",
        "hospital"
      ],
      "layout": {
        "visibility": "visible"
      },
      "paint": {
        "fill-color": "yellow"
      }
    },
   ,
    {
      "id": "building",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "building",
      "minzoom": 12,
      "maxzoom": 24,
      "paint": {
        "fill-color": {
          "stops": [
            [
              13,
              "yellow"
            ],
            [
              16,
              "red"
            ]
          ]
        }
      }
    }
  ]

2) if i have this style json, telering dont recognize color for every layers like hospital or military i have black (ex2.png)

"layers": [

    
    {
      "id": "landuse_classes",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "landuse",
      "minzoom": 7,
      "layout": {
        "visibility": "visible"
      },
      "paint": {
        "fill-color": [
          [
            "military"
          ],
          "green",
          [
            "hospital"
          ],
          "red",
          "purle"
        ]
      },
      "metadata": {},
      "filter": [
        "all",
        [
          "in",
          "class",
          "military",
          "hospital"
        ]
      ]
    },
    
    {
      "id": "building",
      "type": "fill",
      "source": "openmaptiles",
      "source-layer": "building",
      "minzoom": 12,
      "maxzoom": 24,
      "paint": {
        "fill-color": {
          "stops": [
            [
              13,
              "yellow"
            ],
            [
              16,
              "red"
            ]
          ]
        }
      }
    }
  ]
}

 

whats wrong with my json file style?

Completed
Last Updated: 14 May 2024 15:37 by ADMIN
Release 2024.2.514 (2024 Q2)

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.

 
Unplanned
Last Updated: 29 Jan 2024 15:48 by Mike
This is to better address issues with missing pbf files for certain zoom levels. 
Default behavior - scaling cached map images form lower levels - could result in blurry images.
Wanted behavior - rescale lower zoom level pbf files resulting in higher quality images.
Won't Fix
Last Updated: 18 Jan 2024 12:40 by Petar
Created by: Stenly
Comments: 3
Category: Map
Type: Bug Report
0
The RadMap control does not display the MBTiles file format.
Declined
Last Updated: 20 Oct 2023 14:01 by ADMIN

When the VisualizationLayer is populated with FrameworkElement objects (often through the ItemTemplate) and the MapLayer.Location value of a FrameworkElement is updated at runtime, the element itself is not moved to the new location. This happens only if the FrameworkElement is outside of the viewport during the location change action.

To work this around, on location change, remove the data element from the ItemsSource and add it again.

Completed
Last Updated: 12 Sep 2023 09:53 by ADMIN
Release R3 2023
Created by: Martin
Comments: 7
Category: Map
Type: Feature Request
5
Implement AzureMaps Provider in RadMap based on the following API https://azure.microsoft.com/en-us/services/azure-maps/
Won't Fix
Last Updated: 04 Jul 2023 09:36 by ADMIN

The ZIndex property change is not detected by the VisualizationLayer at runtime. 

Workaround: remove and then add back the item where the ZIndex is changed.

Completed
Last Updated: 07 Apr 2023 07:56 by ADMIN
Release LIB 2023.1.407 (7 Apr 2023)
<telerik:RadMap>
<telerik:RadMap.Provider>
<telerik:UriVectorTileMapProvider UriTemplate="https://vector.hereapi.com/v2/vectortiles/base/mc/{level}/{x}/{y}/omv?apiKey=______"   
 />
</telerik:RadMap.Provider>
</telerik:RadMap>

Map with the following setup displayes zoom level 1-2 but  crashes with ArgumentException on zoom level 3.
Completed
Last Updated: 10 Mar 2023 05:38 by ADMIN
Release R1 2023 SP1
Adding big-sized FrameworkElements in VisualizationLayer and then zooming in might result in disappearing of the element although it should cover the whole or large part of the viewport.
Completed
Last Updated: 08 Mar 2023 08:16 by ADMIN
Release R1 2023 SP1

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:

  • Ctrl + Mouse Left to drag a selection rectangle
  • Mouse Left to pan, mouse wheel zo zoom. Shift + Mouse Left for zoom rectangle
  1. Draw a selection rectangle on the very left or right outside the elements: Debug Output reports "Selected Edges: 0"
  2. Draw a selection rectangle close to an edge but not touching it: Debug Output reports "Selected Edges: 1"
  3. Draw selection rectangle that contains (parts of) an edge: Debug Output reports "Selected Edges: 1"

Regards
Dominik Schacht

 

Completed
Last Updated: 02 Feb 2023 12:20 by ADMIN
Release R1 2023
Created by: n/a
Comments: 0
Category: Map
Type: Feature Request
13
Make it possible to use a vector tile provider in the RadMap control.
Completed
Last Updated: 19 Jan 2023 14:50 by ADMIN
With some projections or rectangles with really small sizes close to 0, LocationRect's ZoomLevel returns incorrect value - int.MinValue. The returned value should always be positive integer.
Unplanned
Last Updated: 28 Dec 2022 07:46 by Martin Ivanov
Add an event that allows you to listen for tiles download finished on the provided. The event should fire only after all tiles for the current viewport are downloaded.
Unplanned
Last Updated: 11 Oct 2022 15:27 by Walter
ADMIN
Created by: Martin Ivanov
Comments: 2
Category: Map
Type: Feature Request
7
Add support for reading JSON files encoded in GeoJSON format.
Completed
Last Updated: 16 Sep 2022 08:58 by ADMIN
Release LIB 2022.3.919 (19 Sep 2022)
Zoom step is 0.5 (or 0.2, 0.3 etc fractional).
Zooming in and out LineData objects in Visualization layer can result in some objects disappearing from the viewport or moving to wrong positions.
1 2 3 4 5 6