From aa91af4749efc08791c62da876883b45a971b418 Mon Sep 17 00:00:00 2001 From: Stefano Cudini Date: Sun, 3 Mar 2019 14:19:13 +0100 Subject: [PATCH] Typo in tutorials --- docs/examples/extending/extending-2-layers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/extending/extending-2-layers.md b/docs/examples/extending/extending-2-layers.md index d74687934eb..1f017797688 100644 --- a/docs/examples/extending/extending-2-layers.md +++ b/docs/examples/extending/extending-2-layers.md @@ -35,7 +35,7 @@ Let's illustrate with a custom `L.TileLayer` that will display random kitten ima {% include frame.html url="kittenlayer.html" %} -Normally, `getTileLayer()` receives the tile coordinates (as `coords.x`, `coords.y` and `coords.z`) and generates a tile URL from them. In our example, we ignore those and simply use a random number to get a different kitten every time. +Normally, `getTileUrl()` receives the tile coordinates (as `coords.x`, `coords.y` and `coords.z`) and generates a tile URL from them. In our example, we ignore those and simply use a random number to get a different kitten every time. ### Splitting away the plugin code