map.on("load", function () { var div = document.getElementById("map_zoom_slider").style; div.visibility = "collapse"; });