container
container: undefined | null | HTMLDivElement
labels
labels:
| undefined
| {
"fill-color": string;
"fill-opacity": string;
"line-color": string;
"line-opacity": string;
"line-width": string;
}
legendRender
legendRender: any
name
name:
| undefined
| {
container: string;
containerlegendrender: string;
containerlegendtools: string;
legendeditable: string;
legendrender: string;
legendtitle: string;
target: string;
}
rendercontainer
rendercontainer: undefined | null | HTMLDivElement
toolscontainer
toolscontainer: undefined | null | HTMLElement
Static
PROPERTIES
PROPERTIES: {
background: string[];
circle: string[];
fill: string[];
icon: string[];
line: string[];
text: string[];
}
Classdesc
MapBox Legend management
Alias
ol.style.editor.Legend
Param: options
options for function call.
Param: options.target
...
Param: options.position
...
Param: options.id
(internal) ...
Param: options.sprites
...
Param: options.sprites.url
...
Param: options.sprites.size
{h:, w:} ...
Param: options.sprites.json
...
Param: options.obj
...
Param: options.obj.title
...
Param: options.obj.editable
...
Param: options.obj.paint
...
Param: options.obj.layout
...
Example