Hey,
If you log into my application, gary has the login credentials, on the default map, the static overlay is only visible after the user zooms in on the map. I don't know why.
Hey,
If you log into my application, gary has the login credentials, on the default map, the static overlay is only visible after the user zooms in on the map. I don't know why.
Hello Eric,
I can see the problem, I guess the "grey layer" is what your are talking about, right?
So after checked in the code you provide, I think the "grey layer" set by:
map.StaticOverlay.Layers.Add(GetStateLayer(statepath, "base"))
and
stateLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.StandardColors.LightGray, GeoColor.StandardColors.LightGray);
stateLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20;
right?
From these code, I can't find the problem, but from your method SAmapInitialize, I noticed you clear your StaticOverlay
map.StaticOverlay.Layers.Clear();
and didn't add it back, is this the reason? Sorry I only have part of your code, I don't know when you call the SAmapInitialize and when you call the SAmapReset method.
Or if I guess it's wrong, the disappear layer is not that name, can you check if the disappear set the right zoomlevel style like the code above?
Regards,
Gary