ThinkGeo.com    |     Documentation    |     Premium Support

ScaleLineAdornmentLayer

 


I have a problem with ScaleLineAdornmentLayer - can you help me with this please? When I drag the map with the mouse, I get erratic and multiple displays of the scale at different locations of the mapwindow. 


 



Dim scaleLineAdornmentLayer As New ScaleLineAdornmentLayer()
scaleLineAdornmentLayer.Location = AdornmentLocation.LowerLeft 
winformsMap1.StaticOverlay.Layers.Add("ScaleLineAdornmentLayer",scaleLineAdornmentLayer)

 


I have DesktopEditionFull3.0.184 Beta 2


 


 



375-ScaleLineAdornmentLayer.docx (27.5 KB)

Alta, 
  
 Adornmentlayer should be added to winformsMap1.AdornmentOverlay instead of StaticOverlay. Just change this it will be fine. 
  
 Thanks, 
  
 Ben 


Thanks

You are welcome :)