Plugin for Leaflet adding a dynamic, versatile URL-generating capability to L.TileLayer
allowing a callback function instead of a URL template string.
Compatible with Leaflet version 1.0 (tested with 1.8.0), not compatible with version 0.x.
See demo (the overlay consists of randomly selected WMS tiles).
P.m.
See also demo.html
.
This plugin alters Leaflet's class L.TileLayer
and adds 2 static function factories to it as well as a utility function to the L
namespace.