ThinkGeo.com    |     Documentation    |     Premium Support

ScaleLineAdornment anchoring

I have a scaleLineAdornment that I’m putting in the bottom right hand corner of the map. I’m looking to see if it was possible to have the adorner anchored to a fixed position on the right side. Right now it looks it’s anchored to the left, so when the scale increases in length it gets longer to the right.

  1. I’d like to either anchor it to right so that it grows on the left or
  2. I’d like to set a fixed width which doesn’t appear to be supported.

Any tips/insights would be appreciated,

T

hi @Tango_Papa,

Thanks for reporting this issue, I’ve fixed it.

Could you please upgrade to ThinkGeo.Core 14.4.0-beta110 and give it a try?

Regards,
Leo

Thanks. I’ll see if I can give it a try. On another note, the text also doesn’t seem to anchor to the left properly either. In the screenshot I had to add some additional offset so that the text doesn’t go over the left edge of the scale at different zooms. In addition, the top and bottom texts don’t line. It would be desirable for the text to act the same way as it does by default (left edge and aligned on the top and bottom). The padding from the center line also doesn’t appear to be same with the bottom text a little closer to the line. Is there any way to do that?

image