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
Can I add a textbox on the map filled in a color of my choice just like in the attached photo ?
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
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.
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;
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?
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?