delete me
Posted: Thu May 23, 2019 9:37 am
delete me
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
map = L.map('map_container', {
center: default_coords,
zoom: 10,
layers: [selected_layer]
});
cdienger wrote:In /usr/local/nagiosxi/html/includes/components/map/scripts/main.js, you'll find a section like:
10 is the default zoom level and lowering the value will cause the default to be zoomed out. In my testing browsers are pretty reluctant to reload javascript files so you may need to clear the browser cache out/restart it a couple times before the changes take effect. Also be aware that updates the the wizard may overwrite this setting.Code: Select all
map = L.map('map_container', { center: default_coords, zoom: 10, layers: [selected_layer] });