Add labelObj to a Class dynamically (C#)

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Tue Aug 21 03:36:09 EDT 2007


You can modify the labelObj directly, it has already been created when
you created the classObj.

Umberto

On 8/21/07, Zhonghai Wang <zhonghaiw at gmail.com> wrote:
> Hi guys,
>
> I add a map layer with two classes on the fly to mapObj, for one class i
> need to use some customized label styles for the labeling. What surprised me
> is that I cannot insert or add a labelObj into a classObj, later I saw the
> doc for MapScript, seems that the classObj.label is a immutable property,
> which in C# is then readonly.
>
> Is it possible to add a labelObj to a classObj dynamically? or do the
> stylings with SLD for a windows application?
>
> Any comments are welcome.
>
> Best Regards
>
> Zhonghai



More information about the mapserver-users mailing list