User Tools

Site Tools


map_suite_desktop_for_winforms_labeling_samples

WinForms Samples

Multiple Labels Sample for WinForms

This sample shows how you can display multiple labels for a given point or feature. You can do this by setting a single TextStyle or multiple TextStyles. If you use a single TextStyle, you can simply use a pattern like “[ColumnName1][ColumnName2]…” and when Map Suite displays the text it will combine the values of the columns in your pattern. If you use a different styling method, you will need to manually control the offset of each piece of text to avoid overlapping.

Please refer to [Wiki](http://wiki.thinkgeo.com/wiki/map_suite_desktop_for_winforms) for the details.

Screenshot

View this sample on Github

Labeling Based On Size Sample for WinForms

This project shows some advanced uses of the ClassBreakStyle to show how to label countries based on the area. You will notice that we also take advantage of the various zoom level sets for labeling purposes. The result is an eye pleasing labeling of the countries, with the size proportionate to the countries’ area, with more countries' labels appearing as you zoom in.

Please refer to [Wiki](http://wiki.thinkgeo.com/wiki/map_suite_desktop_for_winforms) for the details.

Screenshot

View this sample on Github

map_suite_desktop_for_winforms_labeling_samples.txt · Last modified: 2020/03/08 06:37 (external edit)