Map image not completely refreshing on occassion
Guys, occasionally, I experience a situation where the map image is not cleanly refreshed. This problem manifests itself in two ways:
- There are two map images on screen, one being some . The refreshed image and the prior image. In all cases, the refreshed image is always on top. Problem is very noticeable when I have a GraticuleAdornment overlay added.
- The refresh progress indicator never gets to 100%.
Attached is an image from one of our testers.
Please advise on how to eliminate this. Unfortunately, I cannot say when exactly it happens.
Our maps are coming off the WMK SDK.
TIA.
Hi Klaus,
From the screenshot, it looks like the CreateAGraticuleAdornmentLayer sample in our how do I sample. It works fine as we tested. I’m not sure how the GraticuleAdornmentOverlay likes. If it’s a custom overlay, please send us the code or a simple sample to help us recreate your issue.
Thanks,
Howard
Howard, this will not be an easy problem to duplicate. I used the graticule to illustrate the problem, which really is the presence of two map images on the screen. In addition to the main map image, left edge of map has an incomplete image of the US. Also, map has two Antarcticas and when this snap shot was taken map was no longer refreshing but progress indicator remained at 87%.
I will be doing for further test on this in the coming days and will have more info.
Hi Klaus,
I see. Could you show us what kind of overlays you are adding into the map. How many layers are there in an LayerOverlay. What kind of special mouse events do you add etc; and what causes the refreshing for the overlay or map. This information might help us to recreate a similar case as yours to test. Or please keep on testing on your end and give us more information. Sorry for the inconvenience and thanks for reporting.
Thanks,
Howard