Layer draw area

May 5, 2011 at 1:07 PM
Edited May 5, 2011 at 1: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 7: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 7:51 AM

Ok, thanks. I will try asap.

May 20, 2011 at 12:27 PM
Edited May 20, 2011 at 7: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