Thank you,
But I don't understand exactly your mean.
I have created some StyledLayerDescriptor for each color. Then declare a
variable in GmlRendererOL, that variable will points to
StyledLayerDescriptor that user select.
On Thu, Mar 20, 2008 at 7:27 AM, Andreas Hocevar <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> first, you have to configure your GmlRendererOL to have a selectStyle.
> This selectStyle points to a StyledLayerDescriptor model. In that
> model, you have to change the color, and trigger the onload event on
> the StyledLayerDescriptor model. From now on, selected features will
> have the new color.
>
> Regards,
> Andreas.
>
> On Wed, Mar 19, 2008 at 8:43 AM, Toan Nguyen <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > I want to allow user to select color of FeatureCollection. Example,
> default
> > color of FeatureCollection is red, when user select blue color for
> > FeatureCollection, and click on the map, then selected feature will be
> blue.
> > How can I do it.
> >
> > --
> > Nguyễn Đình Toán
> >
> > -------------------------
> > Neu khong doc duoc tieng Viet, vui long vao menu View --> chon Encoding
> -->
> > chon Unicode (UTF-8). Cam on.
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Mapbuilder-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
> >
> >
>
--
Nguyễn Đình Toán
-------------------------
Neu khong doc duoc tieng Viet, vui long vao menu View --> chon Encoding -->
chon Unicode (UTF-8). Cam on.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users