Leaflet.js tiles not showing up at zoom level 19

Just stumbled across a bit of a gotcha when using a custom tiles layer on a leaflet map. After a lot of head-scratching, I found the solution. Leaflet.js version here is 0.7.3.

L.TileLayer appears to have a default maxZoom of 18, and it doesn’t inherit the maxZoom of the map, so you need to explicitly set the minZoom and maxZoom on the TileLayer itself.

Example: http://jsfiddle.net/benmarsh/pvanwc1t/ – try zooming in, and you’ll see the tiles don’t render, then uncomment the minZoom/maxZoom lines on the TileLayer and it works.

Plesk on Ubuntu 14.04.2 LTS on Linode

Basic installation instructions and walkthrough…

http://www.spinup.space/installing-plesk-on-ubuntu-14-04lts/

 

Disable root SSH, move off port 22 etc…

https://www.linode.com/docs/security/securing-your-server

http://www.spinup.space/how-to-setup-ssh-keys/

 

Prevent Plesk control panel from appearing in Google etc…

Create /usr/local/psa/admin/htdocs/robots.txt 

Useragent: *
Disallow: /

 

Disable unused services etc…

IMAPS etc…