hi all,<br><br>I have a map with lots of layers. Each layer has its own style. The map application gets each layer from a web-service that some else has developed and can not be modified (I guess).<br> <br>I thouht I could put any kind of data in a json file, so I tried this:<br>
<br>{<br>"type": "FeatureCollection",<br>"name": "Mapa de la Internacionalitat",<br>"minScale":"whatever",<br>"maxScale":"whatever",<br><br>//and then features and its properties?<br>
"features": [<br>...<br>]<br>}<br><br>Now I have realized that atributes "name", "minScale" and "maxScale" are not available from the layer object. I can only get the features properties.<br>
<br>Is it possible to read first the data of the layer, then create the layer and finally add the features?<br>How could / should I do that?<br><br>Thanks in advance.<br>