You should be able to avoid this by passing in the scale parameter with your getlegend request - see http://docs.geoserver.org/latest/en/user/services/wms/get_legend_graphic/legendgraphic.htmlfor more details.
Ian On 28 August 2013 12:07, Paul Meems <[email protected]> wrote: > Thanks Diego, > > I did see the StyleMap framework, but did miss the custom rules option. > I'll have a look at this. > > You say it is easy to modify my sld to make the point size depending on > the zoom level. > Do you have an example of that, because I couldn't find one that did not > added an entry in the legend graphic as well. > > > Thanks, > > Paul > > > 2013/8/28 Diego Guidi <[email protected]> > >> On Wed, Aug 28, 2013 at 11:44 AM, Paul Meems <[email protected]> >> wrote: >> > Display my points using my SLD and resize my points at different zoom >> levels. >> To me, you have no need to duplicate code. >> WMS serves images, and need a SLD to style the features, and you can >> easily modify your SLD to show points with great size depending on >> zoom level. >> >> WFS serves objects, and the style is depending on how you write client >> (ie: javascript) code. >> >> Why you should use SLD to style client code, when you can use this? >> http://docs.openlayers.org/library/feature_styling.html >> >> >> >> >> >> Diego Guidi >> > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users > -- Ian Turton
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
