protected void markerOverlay_Click(object sender, MarkerOverlayClickEventArgs e)
{
CloudPopup popup = new CloudPopup("Popup", clickPointShape, string.Empty, 150, 60);
CygnusMap.Popups.Add(popup);
popup.ContentHtml = GetPopupContent();
}
private string GetPopupContent()
{
string content;
if (feature.ColumnValues.Count > 0)
{
StringBuilder message = new StringBuilder();
message.AppendFormat("
Test
");
message.AppendFormat("{0}
", string.Empty);
message.AppendFormat("");
message.AppendFormat("");
message.AppendFormat("
Delete ", "");
message.AppendFormat("
");
message.AppendFormat("");
message.AppendFormat("
Hotel ", "");
message.AppendFormat("
Hospital ", "");
message.AppendFormat("
");
string messageInPopup = String.Format("{0}
", message.ToString());
content = messageInPopup;
}
else
{
content = string.Empty;
}
return content;
}