JavaScript/jQuery VectorMap - legends.source
Specifies the source of data for the legend.
                        Type:
                    
                    
                        Cannot be used in themes.
                    
        grouping
Specifies the type of the legend grouping.
                        Type:
                    
                    
                        Cannot be used in themes.
                    
        The VectorMap's legend supports three grouping types.
color
Can be used if you have grouped map markers or areas in several differently-colored groups. For more information, refer to the layers's colorGroupingField and colorGroups property descriptions.size
Available for markers of a bubble type only. Can be used if you have grouped bubble markers in several groups and specified a size for bubbles in each group. For more information, refer to the sizeGroupingField and sizeGroups property descriptions.
layer
Specifies a layer to which the legend belongs.
                        Type:
                    
                    
                        Cannot be used in themes.
                    
        Pass a layer name to this property.
Feedback