MunzeeZoomMap

Enables you to zoom a Munzee map into a larger scale.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name           MunzeeZoomMap
// @name:cs        MunzeeZoomMap
// @namespace      Kaas.Greasemonkey.Munzee
// @description    Enables you to zoom a Munzee map into a larger scale.
// @description:cs Umožňuje zoomovat munzee mapu do většího měřítka.
// @include        https://www.munzee.com/map*
// @version        1.0.0
// @grant          none
// ==/UserScript==

jQuery(document).ready(function ($)
{
  // original values:
  //  12 for "only vacant rooms"
  //  15 for "show circle"
  //  13 for everything else
  var newMinZoom = 8;
  
  _minZoom = newMinZoom;  // override default
  the_map.setOptions({minZoom:  newMinZoom});

  $('#check_vacant').change(function( ) { the_map.setOptions({minZoom:  newMinZoom}); });
  $('#check_circles').change(function( ) { the_map.setOptions({minZoom:  newMinZoom}); });
});