# Scale Adornment Layer not displaying

**URL:** <https://community.thinkgeo.com/t/scale-adornment-layer-not-displaying/9360>\
**Category:** WPF\
**Created:** [December 3, 2018, 1:40pm UTC](https://community.thinkgeo.com/t/scale-adornment-layer-not-displaying/9360 "2018-12-03T13:40:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan\_Weaver](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/5f8ce5/32.png) [@Dan\_Weaver](https://community.thinkgeo.com/u/Dan_Weaver)\
**Post date:** [December 3, 2018, 1:40pm UTC](https://community.thinkgeo.com/t/scale-adornment-layer-not-displaying/9360/1 "2018-12-03T13:40:19Z")

</div>

I’m trying to add a scalelineadornmentlayer to my map. I followed the same process as the WinForms version but it is not showing up.

Here’s how I set up the layer:

```
ScaleLineAdornmentLayer scaleLineAdornmentLayer = new ScaleLineAdornmentLayer();
scaleLineAdornmentLayer.Location = AdornmentLocation.LowerLeft;
OnyxMap.AdornmentOverlay.Layers.Add(scaleLineAdornmentLayer);
OnyxMap.Refresh();

```

My map is in decimal degrees. The other overlays I have are set up like so (if it matters):

```
overlay.TileType = TileType.MultipleTile;
overlay.WrappingMode = WrappingMode.WrapDateline;

```

Is there something I’m missing to get it to display properly?

Thanks!

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [December 4, 2018, 7:37am UTC](https://community.thinkgeo.com/t/scale-adornment-layer-not-displaying/9360/2 "2018-12-04T07:37:49Z")

</div>

Hi Dan,

It looks when the ratio beyond a threshold in high level, the scale line and scale bar won’t display.

You will see it when you zoom in the map.

Regards,

Ethan
