Hi Fabien, forget my answer. The layers name has nothing do to with this. But how has you solved your problem? Arnd
_____ Von: openlayers-users-boun...@lists.osgeo.org [mailto:openlayers-users-boun...@lists.osgeo.org] Im Auftrag von Arnd Wippermann Gesendet: Freitag, 29. November 2013 19:31 An: 'Fabien Maison' Cc: openlayers-users@lists.osgeo.org Betreff: Re: [OpenLayers-Users] SLD style with openLayers the layer name have to be "COM" var gJsonLayer = new OpenLayers.Layer.Vector("COM", ... as here obj.namedLayers["COM"] Then you should get a red filled polygon. Arnd _____ Von: openlayers-users-boun...@lists.osgeo.org [mailto:openlayers-users-boun...@lists.osgeo.org] Im Auftrag von Fabien Maison Gesendet: Freitag, 29. November 2013 15:42 An: Diego Guidi; openlayers-users Betreff: Re: [OpenLayers-Users] SLD style with openLayers Yes Diego, So i have make some basic example at http://technique-maison.com/basic_sld_vector/app/ . I try to make it basic for more readability. Hop someon can help me ! Thank's Fabien Le 29 nov. 2013 à 10:52, Diego Guidi a écrit : you should add more information and maybe an online demo version. it's hard to say what's wrong with your data without actually see anything. Diego Guidi On Fri, Nov 29, 2013 at 10:37 AM, Fabien Maison <fab...@fmaison.com> wrote: Hi all ! I would like to use some sld style with Openlayers and Vector Layers. I have seen the OL example (http://openlayers.org/dev/examples/sld.html) but if i replicate this i only get a black styler vector object... Any on know what's the pbm ? Can we use sld with OL 2.13.1 ? _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users