@@ -382,10 +382,10 @@ <h4>Customizing Marker Icons</h4>
382
382
< p > For the simple case of applying a single icon to a set of markers,
383
383
use < code > makeIcon()</ code > .</ p >
384
384
< pre class ="r "> < code > greenLeafIcon <- makeIcon(
385
- iconUrl = "https://leafletjs.com/examples/custom-icons/leaf-green.png",
385
+ iconUrl = "https://leafletjs.com/SlavaUkraini/ examples/custom-icons/leaf-green.png",
386
386
iconWidth = 38, iconHeight = 95,
387
387
iconAnchorX = 22, iconAnchorY = 94,
388
- shadowUrl = "https://leafletjs.com/examples/custom-icons/leaf-shadow.png",
388
+ shadowUrl = "https://leafletjs.com/SlavaUkraini/ examples/custom-icons/leaf-shadow.png",
389
389
shadowWidth = 50, shadowHeight = 64,
390
390
shadowAnchorX = 4, shadowAnchorY = 62
391
391
)
@@ -435,15 +435,15 @@ <h4>Customizing Marker Icons</h4>
435
435
[ 181.62 , 181.03 , 184.1 , 181.66 ] ,
436
436
{
437
437
"iconUrl" : {
438
- "data" : "https://leafletjs.com/examples/custom-icons/leaf-green.png" ,
438
+ "data" : "https://leafletjs.com/SlavaUkraini/ examples/custom-icons/leaf-green.png" ,
439
439
"index" : 0
440
440
} ,
441
441
"iconWidth" : 38 ,
442
442
"iconHeight" : 95 ,
443
443
"iconAnchorX" : 22 ,
444
444
"iconAnchorY" : 94 ,
445
445
"shadowUrl" : {
446
- "data" : "https://leafletjs.com/examples/custom-icons/leaf-shadow.png" ,
446
+ "data" : "https://leafletjs.com/SlavaUkraini/ examples/custom-icons/leaf-shadow.png" ,
447
447
"index" : 0
448
448
} ,
449
449
"shadowWidth" : 50 ,
@@ -502,12 +502,12 @@ <h4>Customizing Marker Icons</h4>
502
502
503
503
leafIcons <- icons(
504
504
iconUrl = ifelse(quakes1$mag < 4.6,
505
- "https://leafletjs.com/examples/custom-icons/leaf-green.png",
506
- "https://leafletjs.com/examples/custom-icons/leaf-red.png"
505
+ "https://leafletjs.com/SlavaUkraini/ examples/custom-icons/leaf-green.png",
506
+ "https://leafletjs.com/SlavaUkraini/ examples/custom-icons/leaf-red.png"
507
507
),
508
508
iconWidth = 38, iconHeight = 95,
509
509
iconAnchorX = 22, iconAnchorY = 94,
510
- shadowUrl = "https://leafletjs.com/examples/custom-icons/leaf-shadow.png",
510
+ shadowUrl = "https://leafletjs.com/SlavaUkraini/ examples/custom-icons/leaf-shadow.png",
511
511
shadowWidth = 50, shadowHeight = 64,
512
512
shadowAnchorX = 4, shadowAnchorY = 62
513
513
)
@@ -557,15 +557,15 @@ <h4>Customizing Marker Icons</h4>
557
557
[ 181.62 , 181.03 , 184.1 , 181.66 , 181.96 , 184.31 , 166.1 , 181.93 , 181.74 , 179.59 ] ,
558
558
{
559
559
"iconUrl" : {
560
- "data" : [ "https://leafletjs.com/examples/custom-icons/leaf-red.png" , "https://leafletjs.com/examples/custom-icons/leaf-green.png" ] ,
560
+ "data" : [ "https://leafletjs.com/SlavaUkraini/ examples/custom-icons/leaf-red.png" , "https://leafletjs.com/SlavaUkraini /examples/custom-icons/leaf-green.png" ] ,
561
561
"index" : [ 0 , 1 , 0 , 1 , 1 , 1 , 0 , 1 , 0 , 1 ]
562
562
} ,
563
563
"iconWidth" : 38 ,
564
564
"iconHeight" : 95 ,
565
565
"iconAnchorX" : 22 ,
566
566
"iconAnchorY" : 94 ,
567
567
"shadowUrl" : {
568
- "data" : "https://leafletjs.com/examples/custom-icons/leaf-shadow.png" ,
568
+ "data" : "https://leafletjs.com/SlavaUkraini/ examples/custom-icons/leaf-shadow.png" ,
569
569
"index" : 0
570
570
} ,
571
571
"shadowWidth" : 50 ,
0 commit comments