Anil,
The popup has two properties, “OffsetXInPixels” and “OffsetYInPixels”. I think it could help you. Here is the code you need.
Marker marker1 = new Marker(-95.28109, 38.95363, new WebImage("../../theme/default/img/marker_green.gif", 21, 25, 21F, 25f));
marker1.Popup.ContentHtml = "popup1";
marker1.Popup.Width = 100;
marker1.Popup.Height = 30;
marker1.Popup.OffsetXInPixels = 21;
marker1.Popup.OffsetYInPixels = 25;
marker1.Popup.HasCloseButton = true;
Marker marker2 = new Marker(-95.28109, 38.95363, new WebImage("../../theme/default/img/marker_blue.gif", 21, 25));
marker2.Popup.ContentHtml = "popup2";
marker2.Popup.Width = 100;
marker2.Popup.Height = 30;
marker2.Popup.HasCloseButton = true;
SimpleMarkerOverlay markersOverlay = new SimpleMarkerOverlay();
markersOverlay.Markers.Add(marker1);
markersOverlay.Markers.Add(marker2);
For reference only.
Thanks,
James