Completed
Last Updated: 10 Jan 2020 14:09 by ADMIN
Release R1 2020

Recently OpenStreetMap changed their tile usage policy and require UserAgent string in the web headers for accessing tile.openstreetmap.org tiles.

https://operations.osmfoundation.org/policies/tiles/

As a result, standard open street map mode does not work - no tiles are loaded and "too many requests" error is returned from the server.

RadMap's OpenStreetMapProvider needs API (event, property or similar) for easier set up of UserAgent / Referer / other headers of web requests.

Currently, the workaround is to override the OpenStreetMapProvider like so:

    public class CustomOpenStreetProvider : OpenStreetMapProvider
    {
        public CustomOpenStreetProvider()
        {
            OpenStreetMapnikSource osmMapInkSource = this.MapSources.Values.ToList()[0] as OpenStreetMapnikSource;
            if (osmMapInkSource != null)
            {
                osmMapInkSource.WebHeaders.Add(System.Net.HttpRequestHeader.UserAgent, "your custom user agent string");
            }
        }
    }
Completed
Last Updated: 03 Dec 2019 11:22 by ADMIN
Created by: Dinko
Comments: 0
Category: Map
Type: Bug Report
0
Missing MapOsmCycleCommand resource key in French. All resource keys will be check for the correct spelling.
Approved
Last Updated: 22 Nov 2019 13:11 by ADMIN

If you update the Location of a map shape data object (for example, EllipseData, PolygonData, ect.) at run-time, while the clustering feature is enabled, the shape disappears.

To work this around, reset the clustering via the IsClusteringEnabled property when the Location changes.

this.ellipseShapeData = new Location(newLatitude, newLongitude);
this.visualizationLayer.ClusteringEnabled = false;
this.visualizationLayer.ClusteringEnabled = true;

 

Approved
Last Updated: 22 Nov 2019 11:54 by ADMIN
When the Layer of the OpenStreetMapProvider is changed from the MapCommandBar, the Layer property is not updated. 
Completed
Last Updated: 25 Nov 2019 12:29 by ADMIN
Release LIB 2019.3.1125
Note, that the Dispose method of the RadMap needs to be called in the Closed event of the Window in order for the exception to occur. 
Completed
Last Updated: 21 Oct 2019 07:59 by ADMIN
Release R3 2019 SP1

If XML of the KML file is not ordered properly (beautified with tabs and new lines), the AsyncKmlReader doesn't read all shapes.

To work this around, beautify the KML file before passing it to the shape reader.

Declined
Last Updated: 14 Oct 2019 08:26 by ADMIN
Created by: Jason D
Comments: 2
Category: Map
Type: Bug Report
0

I have only seen this once. It's possible this is because I am using multiple maps at the same time. I think it crashed the application, but I do not recall.

 

System.IO.IOException
  HResult=0x80070020
  Message=The process cannot access the file 'C:\Users\jasond\AppData\Local\TelerikMapCache\Telerik.Windows.Controls.Map.BingRestRoadOnDemandSource.23x7935x11621' because it is being used by another process.
  Source=mscorlib
  StackTrace:
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Telerik.Windows.Controls.Map.FileSystemCache.OpenCacheStream(String fileName)
   at Telerik.Windows.Controls.Map.FileCacheBase.LoadAsync(String fileName, Action`1 callback)
   at Telerik.Windows.Controls.Map.TiledMapSource.GetCachedTileAsync(Int32 tileLevel, Int32 tilePositionX, Int32 tilePositionY, Action`1 callback)
   at Telerik.Windows.Controls.Map.MultiScaleTileSource.DownloadTile(TileId tileId)
   at Telerik.Windows.Controls.Map.TilesDownloadManager.RequestTile(Int32 requestLevel, Int32 tileX, Int32 tileY, Nullable`1 absTileX)
   at Telerik.Windows.Controls.Map.TilesDownloadManager.RequestTop3Levels(Int32 endLevel3)
   at Telerik.Windows.Controls.Map.TilesDownloadManager.Process()
   at Telerik.Windows.Controls.Map.TilesDownloadManager.DownloaderThread()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Approved
Last Updated: 03 Jun 2019 15:23 by ADMIN
The issue is reproduced mainly, when animated items are brought out of the viewport and then reenter the viewport.  
Declined
Last Updated: 11 Feb 2019 13:49 by ADMIN
Created by: Jason D
Comments: 3
Category: Map
Type: Bug Report
1

In reference to: https://www.telerik.com/forums/binding-question

This sample project is not exactly the same as my actual project, but has the same issue.

I have multiple maps visible. I have a PolygonData that I want to be visible on both maps. It shows up fine. However, the polygon on the first map will not scale when zooming with the FIRST map. If I zoom with the SECOND map, both polygons will correctly scale.

If I replace PolygonData with my own object (PolygonVM), both polygons always correctly scale.

Approved
Last Updated: 19 Nov 2018 16:02 by ADMIN

OpenStreetMap provider uses OpenStreetMapSources which have MaxZoomLevel 18.

When Wraparound of the Map is True and you move (with SetView or ZoomLevel + Center properties) the map to zoomlevel > 18 , no tiles are loaded.

Approved
Last Updated: 14 Sep 2018 13:59 by ADMIN
ADMIN
Created by: Dilyan Traykov
Comments: 0
Category: Map
Type: Bug Report
1

			
Approved
Last Updated: 04 May 2018 13:49 by ADMIN
Approved
Last Updated: 15 Mar 2018 10:16 by ADMIN
Approved
Last Updated: 07 Dec 2017 12:09 by ADMIN
RadMap with Wraparound = True. Custom TiledProvider with custom TileSource is used.

GetCachedTile is overridden to get the cached tiles in the local file system.

When zooming , endless invocation of GetCachedTile method is performed which leads to increasing of CPU usage.
Completed
Last Updated: 08 Mar 2018 09:08 by ADMIN
BingRestMapProvider always search with Structured URL and that is why it fails to find locations via long query search strings like: 

"royalton rd & brecksville rd brecksville oh"

You can see the difference between Structured and Unstructured rest search URLs here:

https://msdn.microsoft.com/en-us/library/ff701711.aspx



As a workaround, users can override BingRestMapProvider like so:

 public class CustomBingRestProvider : BingRestMapProvider
    {    
        protected override Uri BuildSearchLocationRequestUri(BingRestSearchLocationRequest request)
        {
            Uri baseUri = base.BuildSearchLocationRequestUri(request);

            string newPath = baseUri.AbsoluteUri.Replace("Locations/", "Locations/?q=");

            return new Uri(newPath); ;
        }



Approved
Last Updated: 19 Jun 2017 11:20 by ADMIN
MiniMapWidth and MiniMapHeight have default values 250 and 200. If you use different values, for example 250 and 250, panning the RadMap can result in jumping the minimap - unexpected zoom in/out. This is easier to observe with MiniMap, outside RadMap. 

Playing with Width / Height of the MiniMap might workaround the issue.
Completed
Last Updated: 13 Sep 2017 12:56 by ADMIN
ADMIN
Created by: Petar Mladenov
Comments: 0
Category: Map
Type: Bug Report
1
Map with VisualizationLayer (VL) bound to collection of objects.

VL uses an ItemTemplate consisting of MapEllipseView object whose Location Width and Height properties are bound to ViewModel's properties.

On a button click, the ItemsSource of the VL is refreshed. However, the ellipses do not appear until a zoom action is performed.
Completed
Last Updated: 26 Jan 2017 15:28 by ADMIN
By design, a UserData property must be presented in the arguments of the  SearchLocationCompleted, CalculateElevationCompleted and CalculateRouteCompleted events of the BingRestMapProvider.  It should provide the UserData object given to the corresponding request classes.
Completed
Last Updated: 18 May 2017 09:27 by ADMIN
When you have a bindable wrapper as MapEllipseView, MapPolygonView, etc. and bind its ShapeFill property to the view model, the fill is not applied.

This is resolved when the UseRegularFill() method of the MapDataShape object is called manually. You can use this approach to work around the issue.


Available in LIB version: 2017.2.522
Approved
Last Updated: 27 Dec 2016 12:20 by ADMIN
Width / Height of the MapEllipseView are bound to doubles from ViewModel.

Runtime change to 0 does not hide / remove the Ellipse from the Map.

This is a bug in the MapShapeBindableWrapper's Geometry update code. 

The workaround is to use the Visibility of the MapEllipseView in order to hide it.

Other workaround could be using FrameworkElements (Ellipse, Polyline, Rectangle) instead of BindableWrappers (MapEllipseView, MapPolylinerView, MapRectangleView).
1 2 3