Fix link to reference.html; close #5485
This commit is contained in:
parent
276d6df153
commit
c7cc70f2a5
@ -24,7 +24,7 @@ Note that the white area in the images is actually transparent.
|
|||||||
|
|
||||||
### Creating an icon
|
### Creating an icon
|
||||||
|
|
||||||
Marker icons in Leaflet are defined by [L.Icon](../reference.html#icon) objects, which are passed as an option when creating markers. Let's create a green leaf icon:
|
Marker icons in Leaflet are defined by [L.Icon](../../reference.html#icon) objects, which are passed as an option when creating markers. Let's create a green leaf icon:
|
||||||
|
|
||||||
var greenIcon = L.icon({
|
var greenIcon = L.icon({
|
||||||
iconUrl: 'leaf-green.png',
|
iconUrl: 'leaf-green.png',
|
||||||
|
Loading…
Reference in New Issue
Block a user