Skip to content

Commit

Permalink
Typo in tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanocudini authored and IvanSanchez committed Mar 3, 2019
1 parent 93e77bd commit aa91af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/extending/extending-2-layers.md
Expand Up @@ -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

Expand Down

0 comments on commit aa91af4

Please sign in to comment.