I am using Leaflet v0.7, and there seems to be no setters for the min / maxZoom map on the map or tileLayer.
Is there a way to set these values โโdynamically?
If you have an initialized card
var map = L.map('map').setView([51.505, -0.09], 13);
then you can just do:
map.options.minZoom = 12; map.options.maxZoom = 14;
JSFiddle example .
Source: https://habr.com/ru/post/1208842/More articles:Parsing nested JSON in a Data Frame in R - jsonHow to click a switch with capybara in ruby โโon a rails app - ruby-on-railsWP8 MvvmLight namespace is missing, but EventToCommand does not exist - c #svn to git migration: an incomplete history - gitYammer Insert X-Frame-Options: SAMEORIGIN in Chrome - yammerObfuscate string / program in Go - linuxBootstrap 3 selects options by disabling - jqueryPython and unicode bottle requests - pythonOpenCV imread from Hadoop / HDFS - javaOpenCV library loaded in chaos but not working - javaAll Articles