Hi,
I use FeatureSourceMarkerOverlay to display marks from database. Bur user can to set the image icon. How could I set the image of marks in one layer separately? I found the method GetMarkers for getting the marks. But no function.
for (int i = 1; i <= _elementsToDisplay.Count; i++)
{ Marker mark = markerOverlay.ZoomLevelSet.ZoomLevel01.GetMarkers(inMemorySource.InternalFeatures)[i - 1];
MapElement element = _elementsToDisplay[i - 1];
WebImage image = new WebImage(element.GetPicturePath(), 16, 16, 0f, -16f);
mark.WebImage = image; mark.Popup.ContentHtml = " [#Description#] ";
mark.Popup.AutoSize = true;
mark.Popup.BackgroundColor = GeoColor.StandardColors.White;
mark.Popup.BorderColor = GeoColor.StandardColors.Black;
mark.Popup.BorderWidth = 1;
}
Thanks
Ondrej