            },
            onCreated(event) {
                console.log('onCreate', event);
            },
            onChange(type, event) {
                console.log('onChange', type, event);
            },
            onDelete(event) {
                console.log('onDelete', event);
            }
        }
    });
    inmap.add(overlay);

    function removeOverlay() {
        if (overlay) {
            inmap.remove(overlay);
        }
    }

    function addOverlay() {
        overlay.create();
   