[udig-devel] Default Styles

Jesse Eichar jeichar at refractions.net
Wed Jul 5 09:42:06 PDT 2006


Hi,

One way you can accomplish this is to extend the mapInterceptor  
extension point.  It allows an interceptor to be defined that will  
run each time a layer is added to a map (it also provides  
interception points at map creation and opening). The layer factory  
is what is used to create layers.  You can also write your own  
implementation for that, this is much more work though.

Jesse

On 5-Jul-06, at 8:35 AM, Ethan M. Giordano wrote:

> Where do the default styles get created for new layers? I'd like to be
> able to programmatically assign a default style to a given WFS layer.
>
> ~Ethan Giordano
> ________________________
> Software Developer
> Quantum Leap Innovations
> Newark, DE USA
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



More information about the udig-devel mailing list