Layer draw area

May 5, 2011 at 2:07 PM
Edited May 5, 2011 at 2:08 PM


I'm a beginner of Silverlight. I'm try to play a bit with the control. In particular, i'm trying to make the control zone ( + - zoom etc..) area smaller than the original one, but the drawn layer continues to enjoy all the form size. Could you explain how to do it? Thanks


May 8, 2011 at 8:12 AM

This behavior is the default of the Silverlight canvas. To prevent this you can set the clip of the canvas in the MapControl to that of the bounds of the MapControl. 


May 8, 2011 at 8:51 AM

Ok, thanks. I will try asap.

May 20, 2011 at 1:27 PM
Edited May 20, 2011 at 8:28 PM

Could you please show me the piece of code? I cannot find the way to limit the tiles area! Thx

Ok I got it. It's the canvas in the MapRenderer. Thxxx