[OpenLayers-Users] Alternative to defining 'preInsertFeature'

Pierre GIRAUD bluecarto at gmail.com
Thu Oct 25 16:02:19 EDT 2007


There is a current work in progress to get vector symbols (star, plain
or more complicated symbols) defined by style.
You also may have a look at the already available externalGraphics
style property.

Regards.

Pierre

On 10/25/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> On Thu, Oct 25, 2007 at 03:17:25PM -0400, Vincent-Gabriel Vall?e wrote:
> > Hello,
> >
> > where is the default geometry for a point drawn on a WFS or GML layer assigned to the small orange circle?
>
> Each renderer uses a 'circle' type node -- v:oval in VML, svg:circle in
> SVG -- drawn at the specified point. (In other words, it's not actulaly
> a geometry that's being drawn, just a point geometry with a special
> type.)
>
> > I want to have a different shape instead of this default. I have
> > defined a function for preInsertFeature to replace the geometry but is
> > there a better way to do this?
>
> Probably not.
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list