Add labelObj to a Class dynamically (C#)

Zhonghai Wang zhonghaiw at GMAIL.COM
Tue Aug 21 05:05:49 EDT 2007


thanks you very much! I never thought about that.

Best Regards

Zhonghai


On 8/21/07, Umberto Nicoletti <umberto.nicoletti at gmail.com> wrote:
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070821/b953a0a4/attachment.html


More information about the mapserver-users mailing list