function showTooltip() {
    showHide();
    var tempDiv = document.createElement('div');
    tempDiv.className = 'tooltip';
    var input = document.createElement('input');
    input.type = 'text';
    input.minLength = 1;
    input.maxlength = 256;
    input.className = 'input__point ';
    input.required = true;
    input.placeholder = 'Введите описание точки (например: адрес)';
    tempDiv.appendChild(input);
    document.getElementById('right-side').prepend(tempDiv);
    input.focus();
    input.insertAdjacentHTML("afterEnd",
        '<div class="edit-controls">' +
        '<button class="edit-ok">OK</button>' +
        '<button class="edit-cancel">CANCEL</button>' +
        '</div>'
    );

}
// Show dialog window. Ask the name for new Point.
Show dialog window. Ask the name for new Point.
Show dialog window . Ask the name for new Point .
function showTooltip() {
    showHide();
    var tempDiv = document.createElement('div');
    tempDiv.className = 'tooltip';
    var input = document.createElement('input');
    input.type = 'text';
    input.minLength = 1;
    input.maxlength = 256;
    input.className = 'input__point ';
    input.required = true;
    input.placeholder = 'Введите описание точки (например: адрес)';
    tempDiv.appendChild(input);
    document.getElementById('right-side').prepend(tempDiv);
    input.focus();
    input.insertAdjacentHTML("afterEnd",
        '<div class="edit-controls">' +
        '<button class="edit-ok">OK</button>' +
        '<button class="edit-cancel">CANCEL</button>' +
        '</div>'
    );
}
function showTooltip ( ) { showHide ( ) ; var tempDiv = document . createElement ( 'div' ) ; tempDiv . className = 'tooltip' ; var input = document . createElement ( 'input' ) ; input . type = 'text' ; input . minLength = 1 ; input . maxlength = 256 ; input . className = 'input__point ' ; input . required = true ; input . placeholder = 'Введите описание точки (например: адрес)'; tempDiv . appendChild ( input ) ; document . getElementById ( 'right-side' ) . prepend ( tempDiv ) ; input . focus ( ) ; input . insertAdjacentHTML ( "afterEnd" , '<div class="edit-controls">' + '<button class="edit-ok">OK</button>' + '<button class="edit-cancel">CANCEL</button>' + '</div>' ) ; }
Show dialog window.
Show dialog window .