MunzeeZoomMap

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

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==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}); });
});