ThinkGeo.com    |     Documentation    |     Premium Support

V10 to V12 'BestPlacement'

In V10:

layer.ZoomLevelSet.ZoomLevel11.DefaultTextStyle.BestPlacement = true;

In V12 ??

In V10:

labelLayer.ZoomLevelSet.ZoomLevel04.DefaultTextStyle.PointPlacement = PointPlacement.Center;

In V12?

Thanks Ernest
In V10:
layer.ZoomLevelSet.ZoomLevel11.DefaultTextStyle.BestPlacement = true;
In V12
layer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.TextPlacement = TextPlacement.AutoPlacement

In V10:
labelLayer.ZoomLevelSet.ZoomLevel04.DefaultTextStyle.PointPlacement = PointPlacement.Center;
In V12?
labelLayer.ZoomLevelSet.ZoomLevel01.DefaultTextStyle.TextPlacement = TextPlacement.Center;

Thanks

Frank

1 Like

hello there!
in my old v10 version i used both BestPlacement and PointPlacement like this:

layer.ZoomLevelSet.ZoomLevel11.DefaultTextStyle.BestPlacement = true;
layer.ZoomLevelSet.ZoomLevel11.DefaultTextStyle.PointPlacement = PointPlacement.UpperLeft;

and now in v12 that you have made them all one property (TextPlacement) i can use only one of them , how can i get the same results?

Hey @Marios_Ntallaris,

Right, so I think what you are saying is that in v10 you set a preference to UpperLeft position, but in the case of overlaps, nudge the labels around to still fit. In v12, with it now being just AutoPlacement, you cannot set a preference in the case of no overlaps. Is that correct? Can you provide screenshots of before and after so that I can visualize this?

Thanks,
Kyle