Fix 2 links without URLs in docs (#8542)

This commit is contained in:
Robert Linder
2022-10-08 11:41:20 +02:00
committed by GitHub
parent 12ea803762
commit 02f204e782
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ A few of the Leaflet classes have so-called "extension methods": entry points fo
One of them is `L.TileLayer.getTileUrl()`. This method is called internally by `L.TileLayer` whenever a new tile needs to know which image to load. By making a subclass of `L.TileLayer` and rewriting its `getTileUrl()` function, we can create custom behaviour.
Let's illustrate with a custom `L.TileLayer` that will display random kitten images from [PlaceKitten]():
Let's illustrate with a custom `L.TileLayer` that will display random kitten images from [PlaceKitten](https://placekitten.com):
L.TileLayer.Kitten = L.TileLayer.extend({
getTileUrl: function(coords) {