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
When the PathData contains Arc segment which looks as vertical half-circle then it is not displayed in VisualizationLayer.
Add support for MapQuest Open Aerial Tiles. Information: http://developer.mapquest.com/web/products/open/map
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.
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.
Add a way to control the pan / zoom animation duration. Currently the properties which control these animation durations are private in MultiScaleImage.cs
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.
Expose a property that allows you to get the user state in the SearchLocationError event arguments (BingRestSearchLocationErrorEventArgs). Currently, only the SearchLocationCompleted event args give this information. You can work this around using the following approach: You can create a custom BingRestMapProvider and override its OnSearchRequestCompleted() method. There you can get the UserData from the DownloadStringCompletedEventArgs. Check the attached project.
The Opacity of the provider is not respected by any new map sources added at runtime To work this around you can set the Opacity of the source manually. provider.MapSources.Add(new CustomTiledSource() { Opacity = 0.5 });
Add support for accessing the MapQuestTiles. via their new Static API : http://www.mapquestapi.com/staticmap/ Since 11 July 2016, MapQuest Tiles cannot be directly accessed. http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/ To disable the MapQuest option in RadMap's OpenStreetMapProvider you can use the following code: <telerik:RadMap x:Name="radMap" > <telerik:RadMap.Provider> <telerik:OpenStreetMapProvider x:Name="provider" /> </telerik:RadMap.Provider> </telerik:RadMap> InitializeComponent(); string mapQuestCommandName = "Telerik.Windows.Controls.Map.OpenStreetMapQuestSource"; CommandDescription command = this.provider.Commands.Where(x => x.CommandParameter.ToString() == mapQuestCommandName).FirstOrDefault(); this.provider.Commands.Remove(command); In R3 2016 this option will be disabled by default.
Map freezes if current culture is non en-US ,AsyncShapeFileReader reads shapes and the Map is zoomed.
The Location.Parse() method throws FormatException when the source string is saved (using the Location's object ToString() method) and the culture of the application is set to de-DE. Note: The issue can appear with different cultures that use ',' as number decimal separator. To work this around you can save or parse the Location manually instead of using ToString() and Parse(). Available in LIB version: 2016.3.919
RadMap should support Geojson file Decline reason: We have such request already logged in our portal - http://feedback.telerik.com/Project/143/Feedback/Details/181323-add-support-for-reading-json-files-in-geojson-format
When WrapAround is set to TRUE, the MapItemsRequest does not fire when you pan endlessly in one direction. Available in LIB version: 2016.3.1010
System.InvalidOperationException is thrown in a scenario with big number of clustered items. The exception message states that "The calling thread cannot access this object because a different thread owns it". It is reproducible if you zoom in and out.
An exception is thrown in the following scenario: -We have a data bound VisualizationLayer with MapShapeBindableWrapper elements in its ItemTemplate. -The view models in the ItemsSource of the layer implements the INotifyLocationChanged interface and its LocationChanged event is manually raised when the Location property is changed -If the layer's ItemsSource collection is reset and then the Location property the elements of the old collection is changed, an exception is thrown. The fix will be available in our official release Q1 2016 SP.
When CommandBarVisibility is Collapsed in VS2013 and Office2013 themes, the zoombar and navigation bar are misplaced. As a workaround users might set CommandBarVisibility="Hidden".