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
Latitude | Longitude | isCancelled |
---|---|---|
6.83249 | 124.454363 | false |
45.39771 | 4.77996 | true |
41.356361 | 82.63142 | true |
50.3422678 | 13.9673223 | true |
60.889349 | 24.5208664 | true |
Protected Sub RadMap1_ItemDataBound(sender As Object, e As Telerik.Web.UI.Map.MapItemDataBoundEventArgs) Handles RadMap1.ItemDataBound
End Sub