Current filter:
                                You should refresh the page.

                                1 Solution

                                Creation Date Importance Sort by


                                The legend labels should be re-rendered when the colorGroup is correctly updated. Take note that the layer option may have either a type of Array<Object>  or Object as it was described in the layers documentation.

                                In this scenario, there is only one layer object, and not an array of layer objects. Hence, the legend labels can be updated using the code snippet below:

                                // vmap.option("layers[0].colorGroups", [0, 0.5, 0.8, 1, 2, 3, 150]); vmap.option("layers.colorGroups", [0, 0.5, 0.8, 1, 2, 3, 150]);

                                Let me know if this helps.