Telerik Forums
UI for WinForms Forum
1 answer
35 views

Will Radmap be supporting Azure maps since Bing maps are no longer supported?

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 08 Apr 2025
1 answer
59 views
I've tried to remove the black border around legenditems in RadMap to no avail. I've also tried to change the border colour to white and that has not worked.  I was able to change the element spacing using  .ElementSpacing = 0 but have not been able to remove the item borders. I've pasted the code below, how can I remove the black border around legend items? I'm using .Net Framework 4.8 Winforms.

 

Thanks

 

For Each dColor As Double In {0, 0.25, 0.5, 0.75, 1}.Reverse()
        Dim oLegendItem As New MapLegendItemElement("", Color.White)

        oLegendItem.EnableBorderHighlight = False
        oLegendItem.BorderWidth = 0 ' Remove black outline?
        oLegendItem.Margin = New Padding(0)
        oLegendItem.Padding = New Padding(0)
        oLegendItem.MinSize = New Size(20, 10)
        oLegendItem.HorizontalLineWidth = 0
        oLegendItem.BorderBottomColor = Color.White
        oLegendItem.BorderTopColor = Color.White
        oLegendItem.BorderTopWidth = 0
        oLegendItem.BorderBottomWidth = 0
        oLegendItem.DrawBorder = False

        oLegendItem.BackColor = Color.White
        oLegendItem.BackColor2 = Color.White
        oLegendItem.BackColor3 = Color.White
        oLegendItem.BackColor4 = Color.White
        oLegendItem.BorderBottomShadowColor = Color.White
        oLegendItem.BorderColor = Color.White
        oLegendItem.BorderColor2 = Color.White
        oLegendItem.BorderColor3 = Color.White
        oLegendItem.BorderColor4 = Color.White
        oLegendItem.BorderInnerColor = Color.White
        oLegendItem.BorderInnerColor2 = Color.White
        oLegendItem.BorderInnerColor3 = Color.White
        oLegendItem.BorderInnerColor4 = Color.White
        oLegendItem.ShadowColor = Color.White
        oLegendItem.BorderInnerColor4 = Color.White

        oLegendItem.BorderThickness = New Padding(10)
        oLegendItem.BorderHighlightThickness = 0
        oLegendItem.DrawFill = False

        .ItemStackElement.Children.Add(oLegendItem)
    Next


    With .ItemStackElement
        .BackColor = Color.White
        .BackColor2 = Color.White
        .BackColor3 = Color.White
        .BackColor4 = Color.White
        .BorderBottomShadowColor = Color.White
        .BorderColor = Color.White
        .BorderColor2 = Color.White
        .BorderColor3 = Color.White
        .BorderColor4 = Color.White
        .BorderInnerColor = Color.White
        .BorderInnerColor2 = Color.White
        .BorderInnerColor3 = Color.White
        .BorderInnerColor4 = Color.White
        .ShadowColor = Color.White
        .BorderInnerColor4 = Color.White


        .ElementSpacing = 0  ' Remove spacing
        .EnableElementShadow = False

        .DrawBorder = False
        .EnableFocusBorder = False
        .BorderColor = Color.White
        .BorderBottomColor = Color.White
        .BorderWidth = 0
        .EnableBorderHighlight = False
        .DrawBorder = False
        .BorderBottomWidth = 0
        .BorderBottomWidth = 0
        .BorderThickness = New Padding(0)
        .BorderHighlightThickness = 0
    End With
End With

Nadya | Tech Support Engineer
Telerik team
 answered on 26 Nov 2024
1 answer
85 views
How can I access the values of the data in a Telerik.WinControls.UI.MapPolygon?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Jun 2023
1 answer
286 views
As of the beginning of December, the RadMap is failing to get maps from the BingRestMapProvider and the OpenStreetMapProvider. When registering the provider the connection is getting forcibly closed on the server side. Has something changed? Is there an ETA on when the server side issue will get resolved?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Dec 2022
1 answer
105 views

Can I add a textbox on the map filled in a color of my choice just like in the attached photo ?

 

 
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Sep 2022
1 answer
107 views

Hello,  I am developing a RFID RTLS map that uses an API to obtain a floorplan image, zone polygon coordinates and item X/Y location.  I am trying to use the Map control with the LocalMapProvider however the background image is being duplicated when zooming and scrolling.  I understand why this is happening.  Also all of the properties and functions in the map control should work perfectly.  The problem is the background image.  Since I only have a single static image is the Map control the best control to use?  Can I force the map control to not replicate images and force the polygon points XY to start based on the top left of the image?  Mind you the item location will need to be updated in real time so I wasn't sure if using a report viewer would be the ideal solution. 

Thoughts?
Brian

Dinko | Tech Support Engineer
Telerik team
 answered on 23 Aug 2022
0 answers
124 views

Hello,

I have a question regarding telerik maps.

I added several objects (rectangles) on a Telerik map to cover the whole map. However, sometimes the objects do not show & they appear when I use the mouse to zoom in/out.

Is there a way to resolve this issue?

Example of the map with objects missing attached.

 

Ammar
Top achievements
Rank 1
Iron
 asked on 11 Jan 2022
4 answers
334 views

 

 

        private void frmMapping_Load(object sender, EventArgs e)
        {
            string cacheFolder = @"..\..\cache";

            bingProvider.UseSession = true;
            bingProvider.BingKey = "MyKey";
            LocalFileCacheProvider cache = new LocalFileCacheProvider(cacheFolder);
            bingProvider.CacheProvider = cache;
            bingProvider.ImagerySet = Telerik.WinControls.UI.Map.Bing.ImagerySet.Road;
            this.radMap1.Providers.Add(bingProvider);

            PointG racheer = new PointG(38.595592, -90.429629);
            MapPin racheerPin = new MapPin(racheer);
            racheerPin.Text = "Right Here Man!!!";
            racheerPin.BackColor = Color.AliceBlue;

    }
MrBizzl
Top achievements
Rank 2
Iron
 answered on 27 Dec 2021
1 answer
135 views

Hi there,

can I draw a polygon with stripes (lines) on RadMap?

I know how to make a plain (one color) polygon but it is possible to have stripes on the polygon?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Dec 2021
1 answer
127 views

Hi guys,

I would like to get the 4 coordinates for the displayed map on RadMap

Top Right (x, y) , Top Left  (x, y) , Bottom Left (x, y) , Bottom Right  (x, y) 

those values should change different when a user zoom in/out, or move the map with mouse.

is there a way to do that?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Nov 2021
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
TaskDialog
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?