<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Plenty of people, but this question looks like it's better asked in the forum/list for the mapping software you're using. There is no "layer" or "style" in GeoJSON.
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>Allan</div>
<div><br>
<div>
<div>On Mar 28, 2013, at 12:30 PM, Wael Tarhouni <<a href="mailto:waelinsat@gmail.com">waelinsat@gmail.com</a>></div>
<div> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">Anybody here?<br>
<br>
<div class="gmail_quote">2013/3/28 Wael Tarhouni <span dir="ltr"><<a href="mailto:waelinsat@gmail.com" target="_blank">waelinsat@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi all;<br>
<br>
I'm trying to add a style to a geojson layer which is composed by a simple multipolygon but it can't be applied...<br>
<br>
This is the code:<br>
<br>
<br>
<b>{ "type": "MultiPolygon",<br>
  "coordinates": [<br>
    [[[102.0, 2.0], [103.0, 2.0], [103.0, 3.0], [102.0, 3.0], [102.0, 2.0]]],<br>
    [[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]],<br>
     [[100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2]]]<br>
    ],<br>
   <br>
    "style":{<br>
        //all SVG styles allowed<br>
        "fill":"red",<br>
        "stroke-width":"3",<br>
        "fill-opacity":0.6<br>
    }<br>
 <br>
 <br>
  }</b><br>
 <br>
regards;<span class="HOEnZb"><font color="#888888"><br clear="all">
<br>
-- <br>
<div dir="ltr">Wael Tarhouni<br>
Ingénieur en Réseaux informatiques et Télécommunications de l'INSAT<br>
<div><a><br>
(+216) 22 239 551</a></div>
</div>
</font></span></div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">Wael Tarhouni<br>
Ingénieur en Réseaux informatiques et Télécommunications de l'INSAT<br>
<div><a><br>
(+216) 22 239 551</a></div>
</div>
</div>
_______________________________________________<br>
Geojson mailing list<br>
<a href="mailto:Geojson@lists.geojson.org">Geojson@lists.geojson.org</a><br>
http://lists.geojson.org/listinfo.cgi/geojson-geojson.org<br>
</blockquote>
</div>
<br>
</div>
</body>
</html>