Skip to content

Commit c54878f

Browse files
committed
update icon example to fix missing images
1 parent 2a60751 commit c54878f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

inst/examples/icons.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ iconData <- data.frame(
1212
leaflet() %>% addMarkers(
1313
data = iconData,
1414
icon = ~ icons(
15-
iconUrl = sprintf("http://leafletjs.com/docs/images/leaf-%s.png", group),
16-
shadowUrl = "http://leafletjs.com/docs/images/leaf-shadow.png",
15+
iconUrl = sprintf("http://leafletjs.com/examples/custom-icons/leaf-%s.png", group),
16+
shadowUrl = "http://leafletjs.com/examples/custom-icons/leaf-shadow.png",
1717
iconWidth = 38, iconHeight = 95, shadowWidth = 50, shadowHeight = 64,
1818
iconAnchorX = 22, iconAnchorY = 94, shadowAnchorX = 4, shadowAnchorY = 62,
1919
popupAnchorX = -3, popupAnchorY = -76

man/icons.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)