I have problem to display Symbol GIF animation based on Category data.
The Marker Symbol still appears Default symbol.
My code like this bellow :
Dim pinimage As String
pinimage = ""
If rsNow("Status").ToString = "Normal" Thenpinimage = "Symbol/GreenCircle.png"ElseIf rsNow("Status").ToString = "Rusak" Thenpinimage = "Symbol/ATBLOGO_ani.gif"ElseIf rsNow("Status").ToString = "TidakAda" Thenpinimage = "Symbol/ATBLOGO_ani1.gif"End If
Dim image As MarkerSymbol = New MarkerSymbol(pinimage, 18, 18)
How the syntax to create multi symbol marker based on Category?
The default symbol will be displayed if none of the conditions in the If..Endif block returns true. Check the value of pinimage at the last line of the code in the VS debugger.