Hello,
I want to display a different image to represent a point. I can do this easily if i want one of the default point styles . But i want to use image files and whereas i can display an image for a point using
worldLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle.PointType = PointType.Bitmap;
worldLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle.Image = new GeoImage(MapPath("~/theme/default/image.png"));
worldLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
And i can display a different default point style depending a columns value using
ValueStyle valueStyle = new ValueStyle();
valueStyle.ColumnName = "NOM_MK";
valueStyle.ValueItems.Add(new ValueItem("A1", TextStyles.City1("L_D_NAM_MK")));
valueStyle.ValueItems.Add(new ValueItem("A2", TextStyles.City4("L_D_NAM_MK")));
worldLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Add(valueStyle);
worldLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
But i can make this work for only default Point values city1, city2 e.tc. if i want ti use different custom image files to display the points depending their columns value how must i syntax it
dimitris