Hey all.
I tried to display bitmap from data set in an InMemoryLayer :
InMemoryFeatureLayer shapeLayer = new InMemoryFeatureLayer();
shapeLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle.PointType = PointType.Bitmap;
shapeLayer.ZoomLevelSet.ZoomLevel10.DefaultPointStyle.Image = new GeoImage(HttpContext.Request.MapPath("~/Content/images/Home.png"));
But i noticed that displaying same bitmap size for all levels what not so nice.
As i did not want to use MarkerBreakClass(), i tried to add following line of code to define another bitmap for next level of zoom.
shapeLayer.ZoomLevelSet.ZoomLevel11.DefaultPointStyle.Image = new GeoImage(HttpContext.Request.MapPath("~/Content/images/Logo.png"));
The result is that no more bitmaps are displayed.
Did i miss something ? Is it possible to do this in an InMemoryLayer ?
Thanks for the great support