tton.center'),
    select = document.querySelector('select[name=index]');

    local.addEventListener('click', e => {
      navigator.geolocation.getCurrentPosition(location => {
        map.zoomTo(location.coords.latitude, location.coords.longitude);
      });
    });

    zoomIn.addEventListener('click', e => {
      map.zoomIn();
    });
    zoomOut.addEventListener('click', e => {
      map.zoomOut();
    });
    center.addEventListener('click', e => {
      map.center();
    });

    init.addEventListe