change color of the Pin Maker in RadMap control based on a condition

1 Answer 38 Views
Ajax Map
Rebeen
Top achievements
Rank 1
Iron
Rebeen asked on 02 May 2021, 08:35 AM

Hi there,

 

I want to change the color of the  Pin Makers in RadMap for example here is a table  that has consisted with three columns ( Latitude , Longitude and isCancelled )  now I need to change the Pin Marker color based the isCancelled column if the isCancelled is true the Pin Marker color would be in green and other false rows would be in red any idea ? thnaks

LatitudeLongitudeisCancelled
6.83249124.454363false
45.397714.77996true
41.35636182.63142true
50.342267813.9673223true
60.88934924.5208664true

 

Protected Sub RadMap1_ItemDataBound(sender As Object, e As Telerik.Web.UI.Map.MapItemDataBoundEventArgs) Handles RadMap1.ItemDataBound
       
    End Sub

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Rebeen
Top achievements
Rank 1
Iron
answered on 03 May 2021, 11:07 AM
Tags
Ajax Map
Asked by
Rebeen
Top achievements
Rank 1
Iron
Answers by
Rebeen
Top achievements
Rank 1
Iron
Share this question
or