ptions();
                    if (!mapvLayer) {
                        mapvLayer = new mapboxgl.zondy.MapvLayer(map, layerDataSet, layerOptions, {
                            noWrap: true
                        });
                    } else {
                        mapvLayer.updateData(layerDataSet, layerOptions);
                    }
                }

                function changeMode(newmode) {
                    mode = newmode;
                }

                function getLayerOptions() {
    