Custom Overlay - Basic Overlay Sample This sample shows how to create a basic custom overlay which contains buttons that the user can interact with. Alternatively, you can achieve the same thing by floating a div containing your buttons over the map.