Hi,
I am using the following code to place a png file on a Shape.
Can I add any Hint or MouseToolTip to GeoImage ?
InMemoryFeatureLayer bitmapLayer = new InMemoryFeatureLayer();
bitmapLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle.PointType = PointType.Bitmap;
GeoImage img = new GeoImage(Application.StartupPath + @"\A090.png");
bitmapLayer.ZoomLevelSet.ZoomLevel01.DefaultPointStyle.Image = img;
bitmapLayer.ZoomLevelSet.ZoomLevel01.DefaultLineStyle = LineStyles.ContestedBorder2;
bitmapLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
PointShape planeShape = new PointShape(55.3899993896484, 25.2433338165283);
PointShape destinationPoint = new PointShape(77.0950012207031, 28.5666675567627);
MultilineShape airLineShape = planeShape.GreatCircle(destinationPoint);
bitmapLayer.InternalFeatures.Add("Plane", new Feature(planeShape));
bitmapLayer.InternalFeatures.Add("AirLine", new Feature(airLineShape));
LayerOverlay planeOverlay = new LayerOverlay();
planeOverlay.Layers.Add("BitmapLayer", bitmapLayer);
winformsMap1.Overlays.Add("PlaneOverlay", planeOverlay);
winformsMap1.Refresh();
Thanks in advance
Robinson