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();

Constructors

Properties

Methods

Constructors

Properties

container: undefined | null | HTMLDivElement
id: any
name:
    | undefined
    | {
        container: string;
        containerjson: string;
        containertoolsedit: string;
        containertoolsmaxscale: string;
        containertoolsminscale: string;
        containertoolsscale: string;
        jsondisplay: string;
        jsonlabel: string;
        scaleinputmax: string;
        scaleinputmin: string;
        scalelabelmax: string;
        scalelabelmin: string;
        scaletitle: string;
        target: string;
    }
options: any

Methods