VDS Technologies

 

Problem Marker Multiple Symbol GIF Animation Based Category

5/23/2014 3:47:39 AM
Total Posts 50

Problem Marker Multiple Symbol GIF Animation Based Category

Hi,

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" Then
pinimage = "Symbol/GreenCircle.png"
ElseIf rsNow("Status").ToString = "Rusak" Then
pinimage = "Symbol/ATBLOGO_ani.gif"
ElseIf rsNow("Status").ToString = "TidakAda" Then
pinimage = "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?

 

thanks.
Arpat

 

5/23/2014 9:34:04 AM
MVP
Total Posts 323

Re: Problem Marker Multiple Symbol GIF Animation Based 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.