HI
I want popup onclick event using SimpleMarkerOverlay infact i tried the sample given in MapSuite WebEdition 4.0. But i m confused. According to my requirements i am reached so far to retreive different images on different locations with dragging and different hover for each image. But i need popup on clickevent of marker/image. I am sending the code so kindly help me what stuff need to be add more .. thanks
Dim markerOverlay As New SimpleMarkerOverlay("MarkerOverlay")
markerOverlay.DragMode = MarkerDragMode.Drag
Dim dt As New DataTable
Dim dt_Readiness As DataTable
Dim i As Integer
Dim j As Integer
Dim path As String
dt = getTable("select * from Data")
If dt.Rows.Count <> 0 Then
For i = 0 To dt.Rows.Count - 1
Dim marker As New Marker(Convert.ToDouble(dt.rows(i).item(“Longitude”)), Convert.ToDouble(dt.rows(i).item(“Latitude”)))
marker.WebImage = New WebImage(“Images/” & dt.rows(i).item(“Symbol”), 40, 30)
marker.Popup.Width = 260
marker.Popup.Height = 150
marker.Popup.IsVisible = False
marker.Popup.AutoPan = True
markerOverlay.Markers.Add(marker)
Next
End If
Map1.CustomOverlays.Add(markerOverlay)