Posted By Howard on 07-27-2010 08:25 PM
I think you have noticed that in this WpfDesktopEdition, you can continuously panning and zooming, that’s because the LayerOverlay is filled with tiles. Let’s say your application is 800*600 size, to fill the whole map, we need 4*3=12 tiles. Or your application might be bigger and more tiles are needed. Then you have 4 layers, so now we need 4*12 tiles. Here is the problem, in Wpf, when the logic tree is bigger, the visual part will be slower; in another word, your panning operation will become slower and slower. So we don’t recommend user to add too many overlays but nest un-frequently changed layer to one overlay with multiple tile mode; then put frequently changed layer to an overlay with single tile mode, and it’s really optimize your map’s performance.
Hi Howard, when you say that with 4 layers you need much more tiles you really mean with 4 overlays, right? If I understand it correctly all the layers within a overlay are mixed together to create the overlay "bitmap" that is tiled among other overlays, right?
Hence you can have a "Map" overlay with 3 or 4 layers making the background, the adornmentoverlay and the markersoverlay (made of maybe dozens/hundreds? of layers) and you will have 3 overlays * 12 tiles only, right?
An additional question: the overlay information that is out of the current extent adds the same performance penalty that the one is in the view extent?