Hi JWhitmire,
-
As AdjustedScalingImageStyle sample, if you want to change the makers count and size when you zoom in / out, you just only inherit “Style” class and override “DrawCore”. But if you want change the maker’s size only, you can use following statements: Map1.MapUnit = GeographyUnit.DecimalDegree; WorldMapKitWmsSilverlightOverlay baseOverlay = new WorldMapKitWmsSilverlightOverlay(); Map1.Overlays.Add(baseOverlay); InMemoryMarkerOverlay markerOverlay = new InMemoryMarkerOverlay(); markerOverlay.ZoomLevelSet.ZoomLevel01.DefaultMarkerStyle.ImageSource = new BitmapImage(new Uri("/theme/marker_blue_shadow.png", UriKind.RelativeOrAbsolute)); markerOverlay.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level05; markerOverlay.ZoomLevelSet.ZoomLevel05.DefaultMarkerStyle.ImageSource = new BitmapImage(new Uri("/theme/marker_red_shadow.png", UriKind.RelativeOrAbsolute)); markerOverlay.ZoomLevelSet.ZoomLevel06.DefaultMarkerStyle.ImageSource = new BitmapImage(new Uri("/theme/marker_yellow_shadow.png", UriKind.RelativeOrAbsolute)); markerOverlay.ZoomLevelSet.ZoomLevel06.DefaultMarkerStyle.ImageWidth = 55d; markerOverlay.ZoomLevelSet.ZoomLevel06.DefaultMarkerStyle.ImageHeight = 32d; markerOverlay.ZoomLevelSet.ZoomLevel06.DefaultMarkerStyle.ImageOffsetX = -28; markerOverlay.ZoomLevelSet.ZoomLevel06.DefaultMarkerStyle.ImageOffsetY = -32; markerOverlay.ZoomLevelSet.ZoomLevel06.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; Random random = new Random(DateTime.Now.Millisecond); for (int i = 0; i < 10; i++) { double x = -94.558 - random.NextDouble() * 20; double y = 39.078 + random.NextDouble() * 10; markerOverlay.FeatureSource.InternalFeatures.Add(new Feature(new PointShape(x, y))); } Map1.Overlays.Add(markerOverlay); Map1.ZoomTo(new PointShape(-100, 40), 5); -
All formats which are supported by BitmapImage class are available, please refer to https://msdn.microsoft.com/en-us/library/system.windows.media.imaging.bitmapsource(v=vs.110).aspx. -
I think you will pay attention to the projection information in your project, you can convert a coordinate to another projection coordinate such as “Proj4Projection” class.
Thanks,


That is what I needed! Thank you, I think I can find my way from here. Only three questions remain:
However, it does suggest an idea: Could the disappearing happen because the mouse position is considered to have entered the popup and, therefore, left the marker even though it is still within the marker bounds? If so, a MouseLeave handler for the Marker could check to see if the mouse location has actually left the Marker’s area. If that is possible, how would I control whether the popup remains displayed or closes?

