We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The biggest change in the 2.0 API is a renaming of MM.TemplatedMapProvider to Template. TemplatedLayer still works as expected:
MM.TemplatedMapProvider
Template
TemplatedLayer
var layer = new MM.TemplatedLayer("path/to/{Z}/{X}/{Y}.png");
which is the equivalent of this:
var layer = new MM.Layer(new MM.Template("path/to/{Z}/{X}/{Y}.png"));