I must be missing something.
I have a simple loop that finds Lat and Lon in database and adds a marker. I want to add label to each marker (LocID), but all markers come up witha same text (LocID)
Ultimately I need to be able to add an Onclick event that queries database based on the LocID and retrieves additional infor that is put into Popup. I have a code that woked on Google map but does not work here. What is the proper syntax to do that?
Here is the code that does not populate the markers with unique IDs
Do While dtrMark.Read()"LocID").ToString()
LocID = dtrMark("LocID").ToString()
inMemoryMarkerOverlay.Features.Add(New Feature(CDbl(dtrMark("Longitude")), CDbl(dtrMark("Latitude"))))
inMemoryMarkerOverlay.ZoomLevelSet.ZoomLevel01.DefaultMarkerStyle.Popup.ContentHtml = LocID
inMemoryMarkerOverlay.ZoomLevelSet.ZoomLevel01.DefaultMarkerStyle.Popup.AutoPan =True
Loop