MapBox styles management
ol.style.editor.Style
options for function call.
var style = new Style ({ target : ..., position : 1, // identifiant de position (unique !) tools : { edition : false, scale : true }, title : "Styles (JSON)", obj : { paint : {}, layout : {} } }); style.add(); style.display(true); style.getContainer(); Copy
var style = new Style ({ target : ..., position : 1, // identifiant de position (unique !) tools : { edition : false, scale : true }, title : "Styles (JSON)", obj : { paint : {}, layout : {} } }); style.add(); style.display(true); style.getContainer();
Add element into target DOM
Set display container or get
show/hidden container or get status
Get container (DOM)
DOM element
Classdesc
MapBox styles management
Alias
ol.style.editor.Style
Param: options
options for function call.
Example