<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.23536"></HEAD>
<BODY 
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
<DIV dir=ltr align=left><SPAN class=015502318-04122013><FONT color=#0000ff 
size=2 face=Arial>Hi Fabien,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015502318-04122013><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=015502318-04122013><FONT color=#0000ff 
size=2 face=Arial>forget my answer. The layers name has nothing do to with this. 
But how has you solved your problem?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015502318-04122013><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=015502318-04122013><FONT color=#0000ff 
size=2 face=Arial>Arnd</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=de class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> openlayers-users-bounces@lists.osgeo.org 
[mailto:openlayers-users-bounces@lists.osgeo.org] <B>Im Auftrag von </B>Arnd 
Wippermann<BR><B>Gesendet:</B> Freitag, 29. November 2013 19:31<BR><B>An:</B> 
'Fabien Maison'<BR><B>Cc:</B> 
openlayers-users@lists.osgeo.org<BR><B>Betreff:</B> Re: [OpenLayers-Users] SLD 
style with openLayers<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><PRE><PRE><SPAN class=609513117-29112013>the layer name have to be "COM"</SPAN></PRE><PRE>var gJsonLayer = new OpenLayers.Layer.Vector("<SPAN class=609513117-29112013>COM</SPAN>",<SPAN class=609513117-29112013> ...</SPAN></PRE><PRE><SPAN class=609513117-29112013></SPAN> </PRE><PRE><SPAN class=609513117-29112013>as here<BR></SPAN>obj.namedLayers["COM"]</PRE></PRE></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN class=609513117-29112013>Then 
you should get a red filled polygon.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN 
class=609513117-29112013></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN 
class=609513117-29112013>Arnd</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><BR></DIV>
<DIV dir=ltr lang=de class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> openlayers-users-bounces@lists.osgeo.org 
[mailto:openlayers-users-bounces@lists.osgeo.org] <B>Im Auftrag von </B>Fabien 
Maison<BR><B>Gesendet:</B> Freitag, 29. November 2013 15:42<BR><B>An:</B> Diego 
Guidi; openlayers-users<BR><B>Betreff:</B> Re: [OpenLayers-Users] SLD style with 
openLayers<BR></FONT><BR></DIV>
<DIV></DIV>Yes Diego, 
<DIV><BR></DIV>
<DIV>So i have make some basic example at <A 
href="http://technique-maison.com/basic_sld_vector/app/">http://technique-maison.com/basic_sld_vector/app/</A> .</DIV>
<DIV><BR></DIV>
<DIV>I try to make it basic for more readability.</DIV>
<DIV><BR></DIV>
<DIV>Hop someon can help me !</DIV>
<DIV><BR></DIV>
<DIV>Thank's</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Fabien</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV><BR>
<DIV>
<DIV>Le 29 nov. 2013 à 10:52, Diego Guidi a écrit :</DIV><BR 
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
  <DIV>you should add more information and maybe an online demo version.<BR>it's 
  hard to say what's wrong with your data without actually see 
  anything.<BR><BR>Diego Guidi<BR><BR><BR>On Fri, Nov 29, 2013 at 10:37 AM, 
  Fabien Maison <<A 
  href="mailto:fabien@fmaison.com">fabien@fmaison.com</A>> wrote:<BR>
  <BLOCKQUOTE type="cite">Hi all !<BR></BLOCKQUOTE>
  <BLOCKQUOTE type="cite"><BR></BLOCKQUOTE>
  <BLOCKQUOTE type="cite">I would like to use some sld style  with 
    Openlayers and Vector Layers. I<BR></BLOCKQUOTE>
  <BLOCKQUOTE type="cite">have seen the OL example (<A 
    href="http://openlayers.org/dev/examples/sld.html">http://openlayers.org/dev/examples/sld.html</A>) 
     but<BR></BLOCKQUOTE>
  <BLOCKQUOTE type="cite">if i replicate this i only get a black styler vector 
    object... Any on know<BR></BLOCKQUOTE>
  <BLOCKQUOTE type="cite">what's the pbm ?<BR></BLOCKQUOTE>
  <BLOCKQUOTE type="cite">Can we use sld with OL 2.13.1 ?<BR></BLOCKQUOTE>
  <BLOCKQUOTE type="cite"><BR></BLOCKQUOTE>
  <BLOCKQUOTE 
  type="cite">_______________________________________________<BR></BLOCKQUOTE>
  <BLOCKQUOTE type="cite">Users mailing list<BR></BLOCKQUOTE>
  <BLOCKQUOTE type="cite"><A 
    href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</A><BR></BLOCKQUOTE>
  <BLOCKQUOTE type="cite"><A 
    href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</A><BR></BLOCKQUOTE><BR></DIV></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>