In this example we create two layer groups lines, and shapes. We insert markers in both layers (note that on is initially visible and one not).