Hi all,
iam geeting points from the database and plotting those points
one by one with 1 second gap using timer Control.
My Sample Code is:
if (mapcount < mapDs.Tables[0].Rows.Count)
{
double longitude = Convert.ToDouble(mapDs.Tables[0].Rows[mapcount]["longitude"].ToString());
double latitude = Convert.ToDouble(mapDs.Tables[0].Rows[mapcount]["latitude"].ToString());
//
MapSuite.Geometry.PointShape ps = new MapSuite.Geometry.PointShape(longitude, latitude);
Ellipse es = new Ellipse(ps, 0.79, MapLengthUnits.DecimalDegrees, MapLengthUnits.kilometres);
BaseAreaShape bas = es;
AreaMapShape areaMapShp = new AreaMapShape(bas);
if (mapDs.Tables[0].Rows[mapcount]["CalendarYear"].ToString() == System.DateTime.Today.Year.ToString())
areaMapShp.ZoomLevel01.GeoStyle = GeoAreaStyles.GetSimpleAreaStyle(GeoColor.SimpleColors.DarkBlue, GeoColor.KnownColors.DarkBlue, 2);
else
if (mapDs.Tables[0].Rows[mapcount]["CalendarYear"].ToString() == Convert.ToString(System.DateTime.Today.Year - 1))
areaMapShp.ZoomLevel01.GeoStyle = GeoAreaStyles.GetSimpleAreaStyle(GeoColor.SimpleColors.DarkGreen, GeoColor.KnownColors.DarkGreen, 2);
else
areaMapShp.ZoomLevel01.GeoStyle = GeoAreaStyles.GetSimpleAreaStyle(GeoColor.SimpleColors.Red, GeoColor.KnownColors.Red, 2);
areaMapShp.ZoomLevel01.GeoTextStyle = GeoTextStyles.GetSimpleTextStyle(null, "Arial", 9, GeoFontStyle.Bold, GeoColor.KnownColors.Black);
areaMapShp.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.ZoomLevel18;
map1.MapShapes.Add(areaMapShp);
mapcount = mapcount + 1;
map1.RefreshDynamic();
}
Now I want to display tooltip (information about the point)whenever point is plotted on the map.
for each point i need to display the tooltip .the time span between the plotting points is 1 sec.
Hiw can i achieve this.
This is Urgent.
Thanking you.