Hi all,<div><br></div><div>I&#39;ll start telling you that I&#39;m a complete newby to mapquery, so maybe this question has a very simple response, but I&#39;ve been unable to find it.</div><div><br></div><div>I&#39;m creating a map using mapquery. Relevant source code is:</div>
<div><br></div><div>$(&#39;#map&#39;).mapQuery({</div><div>  center: {</div><div>    box: [5.75, 47, 15, 55]</div><div>  },</div><div>  layers:  [{</div><div>    type: &#39;json&#39;,</div><div>    url: &#39;germany.geojson&#39;,</div>
<div>    label: &#39;Germany&#39;</div><div>  }]</div><div>});</div><div><br></div><div>this simple code shows me a centered map of Germany.</div><div><br></div><div>Now, I want to add colored points at certain cities (red or green points, depending of some values)... but I&#39;m not able to add these points to the map.</div>
<div><br></div><div>At most, I&#39;ve been able to add these points adding a new json layer to layers list, with a different url (stations.php). This PHP file generates a file like this one:</div><div><br></div><div>{</div>
<div> &quot;type&quot;: FeatureCollection&quot;,</div><div> &quot;features&quot;: [{</div><div>  &quot;type&quot;: &quot;Feature&quot;,</div><div>  &quot;geometry&quot;: {</div><div>   &quot;type&quot;: &quot;Point&quot;,</div>
<div>   &quot;coordinates&quot;: [x, y]</div><div>   }</div><div> }]</div><div><div>}</div><div><br></div><div>That way I can add the points, but I&#39;ve found no way to apply colour to these points. I&#39;ve tried adding an &quot;style&quot; property to the feature, but it doesn&#39;t work.</div>
<div><br></div><div>It shouldn&#39;t be too complicated, but I&#39;ve no clue... any help?</div><div><br></div><div>Thanks a lot!</div><div><br></div><div>David (aka sharcashmo)</div>-- <br><a href="http://hphayquedecirlomas.wordpress.com/" target="_blank"><img src="http://hphayquedecirlomas.files.wordpress.com/2012/02/c.jpg"></a><br>
<div><br></div><div>HIJOS DE PUTA! Hay que decirlo más... Haz click en la imagen para decirlo más</div><br>
</div>