How to set source dynamically to a layer vector in openlayer 3
like this
var vectorLayer= new ol.layer.Vector({source: new ol.source.Vector()});vectorLayer.setSource(another_source);
Is it possible?
Aucun commentaire:
Enregistrer un commentaire