diff --git a/web/images/markers/.DS_Store b/web/images/markers/.DS_Store new file mode 100644 index 0000000..194d9a1 Binary files /dev/null and b/web/images/markers/.DS_Store differ diff --git a/web/images/markers/marker-icon-0.png b/web/images/markers/marker-icon-0.png new file mode 100644 index 0000000..80460c9 Binary files /dev/null and b/web/images/markers/marker-icon-0.png differ diff --git a/web/images/markers/marker-icon-1.png b/web/images/markers/marker-icon-1.png new file mode 100644 index 0000000..0e3652c Binary files /dev/null and b/web/images/markers/marker-icon-1.png differ diff --git a/web/images/markers/marker-icon-10.png b/web/images/markers/marker-icon-10.png new file mode 100644 index 0000000..8e6b7ab Binary files /dev/null and b/web/images/markers/marker-icon-10.png differ diff --git a/web/images/markers/marker-icon-11.png b/web/images/markers/marker-icon-11.png new file mode 100644 index 0000000..3358052 Binary files /dev/null and b/web/images/markers/marker-icon-11.png differ diff --git a/web/images/markers/marker-icon-12.png b/web/images/markers/marker-icon-12.png new file mode 100644 index 0000000..986b5c3 Binary files /dev/null and b/web/images/markers/marker-icon-12.png differ diff --git a/web/images/markers/marker-icon-13.png b/web/images/markers/marker-icon-13.png new file mode 100644 index 0000000..ccdeffa Binary files /dev/null and b/web/images/markers/marker-icon-13.png differ diff --git a/web/images/markers/marker-icon-14.png b/web/images/markers/marker-icon-14.png new file mode 100644 index 0000000..98d8803 Binary files /dev/null and b/web/images/markers/marker-icon-14.png differ diff --git a/web/images/markers/marker-icon-15.png b/web/images/markers/marker-icon-15.png new file mode 100644 index 0000000..81806d6 Binary files /dev/null and b/web/images/markers/marker-icon-15.png differ diff --git a/web/images/markers/marker-icon-16.png b/web/images/markers/marker-icon-16.png new file mode 100644 index 0000000..af12cdd Binary files /dev/null and b/web/images/markers/marker-icon-16.png differ diff --git a/web/images/markers/marker-icon-17.png b/web/images/markers/marker-icon-17.png new file mode 100644 index 0000000..d2f43ed Binary files /dev/null and b/web/images/markers/marker-icon-17.png differ diff --git a/web/images/markers/marker-icon-18.png b/web/images/markers/marker-icon-18.png new file mode 100644 index 0000000..aa563d3 Binary files /dev/null and b/web/images/markers/marker-icon-18.png differ diff --git a/web/images/markers/marker-icon-19.png b/web/images/markers/marker-icon-19.png new file mode 100644 index 0000000..2a0fc70 Binary files /dev/null and b/web/images/markers/marker-icon-19.png differ diff --git a/web/images/markers/marker-icon-2.png b/web/images/markers/marker-icon-2.png new file mode 100644 index 0000000..c93edb3 Binary files /dev/null and b/web/images/markers/marker-icon-2.png differ diff --git a/web/images/markers/marker-icon-20.png b/web/images/markers/marker-icon-20.png new file mode 100644 index 0000000..74c6004 Binary files /dev/null and b/web/images/markers/marker-icon-20.png differ diff --git a/web/images/markers/marker-icon-21.png b/web/images/markers/marker-icon-21.png new file mode 100644 index 0000000..a60682b Binary files /dev/null and b/web/images/markers/marker-icon-21.png differ diff --git a/web/images/markers/marker-icon-22.png b/web/images/markers/marker-icon-22.png new file mode 100644 index 0000000..b472d6c Binary files /dev/null and b/web/images/markers/marker-icon-22.png differ diff --git a/web/images/markers/marker-icon-23.png b/web/images/markers/marker-icon-23.png new file mode 100644 index 0000000..0a28d80 Binary files /dev/null and b/web/images/markers/marker-icon-23.png differ diff --git a/web/images/markers/marker-icon-24.png b/web/images/markers/marker-icon-24.png new file mode 100644 index 0000000..84ad682 Binary files /dev/null and b/web/images/markers/marker-icon-24.png differ diff --git a/web/images/markers/marker-icon-25.png b/web/images/markers/marker-icon-25.png new file mode 100644 index 0000000..b8649f0 Binary files /dev/null and b/web/images/markers/marker-icon-25.png differ diff --git a/web/images/markers/marker-icon-26.png b/web/images/markers/marker-icon-26.png new file mode 100644 index 0000000..d58c82b Binary files /dev/null and b/web/images/markers/marker-icon-26.png differ diff --git a/web/images/markers/marker-icon-27.png b/web/images/markers/marker-icon-27.png new file mode 100644 index 0000000..b6964df Binary files /dev/null and b/web/images/markers/marker-icon-27.png differ diff --git a/web/images/markers/marker-icon-28.png b/web/images/markers/marker-icon-28.png new file mode 100644 index 0000000..6422deb Binary files /dev/null and b/web/images/markers/marker-icon-28.png differ diff --git a/web/images/markers/marker-icon-29.png b/web/images/markers/marker-icon-29.png new file mode 100644 index 0000000..fb4da34 Binary files /dev/null and b/web/images/markers/marker-icon-29.png differ diff --git a/web/images/markers/marker-icon-3.png b/web/images/markers/marker-icon-3.png new file mode 100644 index 0000000..bc64708 Binary files /dev/null and b/web/images/markers/marker-icon-3.png differ diff --git a/web/images/markers/marker-icon-30.png b/web/images/markers/marker-icon-30.png new file mode 100644 index 0000000..b0f04eb Binary files /dev/null and b/web/images/markers/marker-icon-30.png differ diff --git a/web/images/markers/marker-icon-31.png b/web/images/markers/marker-icon-31.png new file mode 100644 index 0000000..eeb5c21 Binary files /dev/null and b/web/images/markers/marker-icon-31.png differ diff --git a/web/images/markers/marker-icon-32.png b/web/images/markers/marker-icon-32.png new file mode 100644 index 0000000..f05a67f Binary files /dev/null and b/web/images/markers/marker-icon-32.png differ diff --git a/web/images/markers/marker-icon-33.png b/web/images/markers/marker-icon-33.png new file mode 100644 index 0000000..96db5a4 Binary files /dev/null and b/web/images/markers/marker-icon-33.png differ diff --git a/web/images/markers/marker-icon-34.png b/web/images/markers/marker-icon-34.png new file mode 100644 index 0000000..ef28ca5 Binary files /dev/null and b/web/images/markers/marker-icon-34.png differ diff --git a/web/images/markers/marker-icon-35.png b/web/images/markers/marker-icon-35.png new file mode 100644 index 0000000..caf801c Binary files /dev/null and b/web/images/markers/marker-icon-35.png differ diff --git a/web/images/markers/marker-icon-36.png b/web/images/markers/marker-icon-36.png new file mode 100644 index 0000000..e501d18 Binary files /dev/null and b/web/images/markers/marker-icon-36.png differ diff --git a/web/images/markers/marker-icon-37.png b/web/images/markers/marker-icon-37.png new file mode 100644 index 0000000..35643ea Binary files /dev/null and b/web/images/markers/marker-icon-37.png differ diff --git a/web/images/markers/marker-icon-38.png b/web/images/markers/marker-icon-38.png new file mode 100644 index 0000000..ee22c6c Binary files /dev/null and b/web/images/markers/marker-icon-38.png differ diff --git a/web/images/markers/marker-icon-39.png b/web/images/markers/marker-icon-39.png new file mode 100644 index 0000000..d1672a8 Binary files /dev/null and b/web/images/markers/marker-icon-39.png differ diff --git a/web/images/markers/marker-icon-4.png b/web/images/markers/marker-icon-4.png new file mode 100644 index 0000000..8922460 Binary files /dev/null and b/web/images/markers/marker-icon-4.png differ diff --git a/web/images/markers/marker-icon-40.png b/web/images/markers/marker-icon-40.png new file mode 100644 index 0000000..035a121 Binary files /dev/null and b/web/images/markers/marker-icon-40.png differ diff --git a/web/images/markers/marker-icon-41.png b/web/images/markers/marker-icon-41.png new file mode 100644 index 0000000..21f4c2b Binary files /dev/null and b/web/images/markers/marker-icon-41.png differ diff --git a/web/images/markers/marker-icon-42.png b/web/images/markers/marker-icon-42.png new file mode 100644 index 0000000..0621c0c Binary files /dev/null and b/web/images/markers/marker-icon-42.png differ diff --git a/web/images/markers/marker-icon-43.png b/web/images/markers/marker-icon-43.png new file mode 100644 index 0000000..1aed2a5 Binary files /dev/null and b/web/images/markers/marker-icon-43.png differ diff --git a/web/images/markers/marker-icon-44.png b/web/images/markers/marker-icon-44.png new file mode 100644 index 0000000..71bd879 Binary files /dev/null and b/web/images/markers/marker-icon-44.png differ diff --git a/web/images/markers/marker-icon-45.png b/web/images/markers/marker-icon-45.png new file mode 100644 index 0000000..28e8f8e Binary files /dev/null and b/web/images/markers/marker-icon-45.png differ diff --git a/web/images/markers/marker-icon-46.png b/web/images/markers/marker-icon-46.png new file mode 100644 index 0000000..ecf0755 Binary files /dev/null and b/web/images/markers/marker-icon-46.png differ diff --git a/web/images/markers/marker-icon-47.png b/web/images/markers/marker-icon-47.png new file mode 100644 index 0000000..53f719c Binary files /dev/null and b/web/images/markers/marker-icon-47.png differ diff --git a/web/images/markers/marker-icon-48.png b/web/images/markers/marker-icon-48.png new file mode 100644 index 0000000..f7bd91f Binary files /dev/null and b/web/images/markers/marker-icon-48.png differ diff --git a/web/images/markers/marker-icon-49.png b/web/images/markers/marker-icon-49.png new file mode 100644 index 0000000..9909826 Binary files /dev/null and b/web/images/markers/marker-icon-49.png differ diff --git a/web/images/markers/marker-icon-5.png b/web/images/markers/marker-icon-5.png new file mode 100644 index 0000000..ac123cb Binary files /dev/null and b/web/images/markers/marker-icon-5.png differ diff --git a/web/images/markers/marker-icon-50.png b/web/images/markers/marker-icon-50.png new file mode 100644 index 0000000..e7910fa Binary files /dev/null and b/web/images/markers/marker-icon-50.png differ diff --git a/web/images/markers/marker-icon-51.png b/web/images/markers/marker-icon-51.png new file mode 100644 index 0000000..7737d5b Binary files /dev/null and b/web/images/markers/marker-icon-51.png differ diff --git a/web/images/markers/marker-icon-52.png b/web/images/markers/marker-icon-52.png new file mode 100644 index 0000000..51c7556 Binary files /dev/null and b/web/images/markers/marker-icon-52.png differ diff --git a/web/images/markers/marker-icon-53.png b/web/images/markers/marker-icon-53.png new file mode 100644 index 0000000..7cd2210 Binary files /dev/null and b/web/images/markers/marker-icon-53.png differ diff --git a/web/images/markers/marker-icon-54.png b/web/images/markers/marker-icon-54.png new file mode 100644 index 0000000..539e54d Binary files /dev/null and b/web/images/markers/marker-icon-54.png differ diff --git a/web/images/markers/marker-icon-55.png b/web/images/markers/marker-icon-55.png new file mode 100644 index 0000000..5f890c9 Binary files /dev/null and b/web/images/markers/marker-icon-55.png differ diff --git a/web/images/markers/marker-icon-56.png b/web/images/markers/marker-icon-56.png new file mode 100644 index 0000000..5147e83 Binary files /dev/null and b/web/images/markers/marker-icon-56.png differ diff --git a/web/images/markers/marker-icon-57.png b/web/images/markers/marker-icon-57.png new file mode 100644 index 0000000..bede68b Binary files /dev/null and b/web/images/markers/marker-icon-57.png differ diff --git a/web/images/markers/marker-icon-58.png b/web/images/markers/marker-icon-58.png new file mode 100644 index 0000000..bde51d9 Binary files /dev/null and b/web/images/markers/marker-icon-58.png differ diff --git a/web/images/markers/marker-icon-59.png b/web/images/markers/marker-icon-59.png new file mode 100644 index 0000000..7d15e3e Binary files /dev/null and b/web/images/markers/marker-icon-59.png differ diff --git a/web/images/markers/marker-icon-6.png b/web/images/markers/marker-icon-6.png new file mode 100644 index 0000000..336cae9 Binary files /dev/null and b/web/images/markers/marker-icon-6.png differ diff --git a/web/images/markers/marker-icon-60.png b/web/images/markers/marker-icon-60.png new file mode 100644 index 0000000..e90da8d Binary files /dev/null and b/web/images/markers/marker-icon-60.png differ diff --git a/web/images/markers/marker-icon-61.png b/web/images/markers/marker-icon-61.png new file mode 100644 index 0000000..de9c599 Binary files /dev/null and b/web/images/markers/marker-icon-61.png differ diff --git a/web/images/markers/marker-icon-62.png b/web/images/markers/marker-icon-62.png new file mode 100644 index 0000000..2318052 Binary files /dev/null and b/web/images/markers/marker-icon-62.png differ diff --git a/web/images/markers/marker-icon-63.png b/web/images/markers/marker-icon-63.png new file mode 100644 index 0000000..70fd13b Binary files /dev/null and b/web/images/markers/marker-icon-63.png differ diff --git a/web/images/markers/marker-icon-64.png b/web/images/markers/marker-icon-64.png new file mode 100644 index 0000000..3e4a2a0 Binary files /dev/null and b/web/images/markers/marker-icon-64.png differ diff --git a/web/images/markers/marker-icon-65.png b/web/images/markers/marker-icon-65.png new file mode 100644 index 0000000..ed7cd79 Binary files /dev/null and b/web/images/markers/marker-icon-65.png differ diff --git a/web/images/markers/marker-icon-66.png b/web/images/markers/marker-icon-66.png new file mode 100644 index 0000000..300a960 Binary files /dev/null and b/web/images/markers/marker-icon-66.png differ diff --git a/web/images/markers/marker-icon-67.png b/web/images/markers/marker-icon-67.png new file mode 100644 index 0000000..51616c7 Binary files /dev/null and b/web/images/markers/marker-icon-67.png differ diff --git a/web/images/markers/marker-icon-68.png b/web/images/markers/marker-icon-68.png new file mode 100644 index 0000000..e8027ee Binary files /dev/null and b/web/images/markers/marker-icon-68.png differ diff --git a/web/images/markers/marker-icon-69.png b/web/images/markers/marker-icon-69.png new file mode 100644 index 0000000..1e06e39 Binary files /dev/null and b/web/images/markers/marker-icon-69.png differ diff --git a/web/images/markers/marker-icon-7.png b/web/images/markers/marker-icon-7.png new file mode 100644 index 0000000..d787ea9 Binary files /dev/null and b/web/images/markers/marker-icon-7.png differ diff --git a/web/images/markers/marker-icon-70.png b/web/images/markers/marker-icon-70.png new file mode 100644 index 0000000..2d5cfc4 Binary files /dev/null and b/web/images/markers/marker-icon-70.png differ diff --git a/web/images/markers/marker-icon-71.png b/web/images/markers/marker-icon-71.png new file mode 100644 index 0000000..76fdfd7 Binary files /dev/null and b/web/images/markers/marker-icon-71.png differ diff --git a/web/images/markers/marker-icon-72.png b/web/images/markers/marker-icon-72.png new file mode 100644 index 0000000..e75d6bb Binary files /dev/null and b/web/images/markers/marker-icon-72.png differ diff --git a/web/images/markers/marker-icon-73.png b/web/images/markers/marker-icon-73.png new file mode 100644 index 0000000..7e47a77 Binary files /dev/null and b/web/images/markers/marker-icon-73.png differ diff --git a/web/images/markers/marker-icon-74.png b/web/images/markers/marker-icon-74.png new file mode 100644 index 0000000..c1f4915 Binary files /dev/null and b/web/images/markers/marker-icon-74.png differ diff --git a/web/images/markers/marker-icon-75.png b/web/images/markers/marker-icon-75.png new file mode 100644 index 0000000..0bdfebe Binary files /dev/null and b/web/images/markers/marker-icon-75.png differ diff --git a/web/images/markers/marker-icon-76.png b/web/images/markers/marker-icon-76.png new file mode 100644 index 0000000..14bdc29 Binary files /dev/null and b/web/images/markers/marker-icon-76.png differ diff --git a/web/images/markers/marker-icon-77.png b/web/images/markers/marker-icon-77.png new file mode 100644 index 0000000..92cb69c Binary files /dev/null and b/web/images/markers/marker-icon-77.png differ diff --git a/web/images/markers/marker-icon-78.png b/web/images/markers/marker-icon-78.png new file mode 100644 index 0000000..375316b Binary files /dev/null and b/web/images/markers/marker-icon-78.png differ diff --git a/web/images/markers/marker-icon-79.png b/web/images/markers/marker-icon-79.png new file mode 100644 index 0000000..deabbc2 Binary files /dev/null and b/web/images/markers/marker-icon-79.png differ diff --git a/web/images/markers/marker-icon-8.png b/web/images/markers/marker-icon-8.png new file mode 100644 index 0000000..f477410 Binary files /dev/null and b/web/images/markers/marker-icon-8.png differ diff --git a/web/images/markers/marker-icon-80.png b/web/images/markers/marker-icon-80.png new file mode 100644 index 0000000..feaf180 Binary files /dev/null and b/web/images/markers/marker-icon-80.png differ diff --git a/web/images/markers/marker-icon-81.png b/web/images/markers/marker-icon-81.png new file mode 100644 index 0000000..526674b Binary files /dev/null and b/web/images/markers/marker-icon-81.png differ diff --git a/web/images/markers/marker-icon-82.png b/web/images/markers/marker-icon-82.png new file mode 100644 index 0000000..bd85002 Binary files /dev/null and b/web/images/markers/marker-icon-82.png differ diff --git a/web/images/markers/marker-icon-83.png b/web/images/markers/marker-icon-83.png new file mode 100644 index 0000000..79e8ea8 Binary files /dev/null and b/web/images/markers/marker-icon-83.png differ diff --git a/web/images/markers/marker-icon-84.png b/web/images/markers/marker-icon-84.png new file mode 100644 index 0000000..42fa9be Binary files /dev/null and b/web/images/markers/marker-icon-84.png differ diff --git a/web/images/markers/marker-icon-85.png b/web/images/markers/marker-icon-85.png new file mode 100644 index 0000000..8e5225a Binary files /dev/null and b/web/images/markers/marker-icon-85.png differ diff --git a/web/images/markers/marker-icon-86.png b/web/images/markers/marker-icon-86.png new file mode 100644 index 0000000..0e792eb Binary files /dev/null and b/web/images/markers/marker-icon-86.png differ diff --git a/web/images/markers/marker-icon-87.png b/web/images/markers/marker-icon-87.png new file mode 100644 index 0000000..5056ca6 Binary files /dev/null and b/web/images/markers/marker-icon-87.png differ diff --git a/web/images/markers/marker-icon-88.png b/web/images/markers/marker-icon-88.png new file mode 100644 index 0000000..9313333 Binary files /dev/null and b/web/images/markers/marker-icon-88.png differ diff --git a/web/images/markers/marker-icon-89.png b/web/images/markers/marker-icon-89.png new file mode 100644 index 0000000..47b8a5d Binary files /dev/null and b/web/images/markers/marker-icon-89.png differ diff --git a/web/images/markers/marker-icon-9.png b/web/images/markers/marker-icon-9.png new file mode 100644 index 0000000..9e8a7ae Binary files /dev/null and b/web/images/markers/marker-icon-9.png differ diff --git a/web/images/markers/marker-icon-90.png b/web/images/markers/marker-icon-90.png new file mode 100644 index 0000000..1f67bee Binary files /dev/null and b/web/images/markers/marker-icon-90.png differ diff --git a/web/images/markers/marker-icon-91.png b/web/images/markers/marker-icon-91.png new file mode 100644 index 0000000..3a2a7d9 Binary files /dev/null and b/web/images/markers/marker-icon-91.png differ diff --git a/web/images/markers/marker-icon-92.png b/web/images/markers/marker-icon-92.png new file mode 100644 index 0000000..c103947 Binary files /dev/null and b/web/images/markers/marker-icon-92.png differ diff --git a/web/images/markers/marker-icon-93.png b/web/images/markers/marker-icon-93.png new file mode 100644 index 0000000..f43ae75 Binary files /dev/null and b/web/images/markers/marker-icon-93.png differ diff --git a/web/images/markers/marker-icon-94.png b/web/images/markers/marker-icon-94.png new file mode 100644 index 0000000..cf1058d Binary files /dev/null and b/web/images/markers/marker-icon-94.png differ diff --git a/web/images/markers/marker-icon-95.png b/web/images/markers/marker-icon-95.png new file mode 100644 index 0000000..5ffb0b6 Binary files /dev/null and b/web/images/markers/marker-icon-95.png differ diff --git a/web/images/markers/marker-icon-96.png b/web/images/markers/marker-icon-96.png new file mode 100644 index 0000000..77bf199 Binary files /dev/null and b/web/images/markers/marker-icon-96.png differ diff --git a/web/images/markers/marker-icon-97.png b/web/images/markers/marker-icon-97.png new file mode 100644 index 0000000..842fc58 Binary files /dev/null and b/web/images/markers/marker-icon-97.png differ diff --git a/web/images/markers/marker-icon-98.png b/web/images/markers/marker-icon-98.png new file mode 100644 index 0000000..fb330a1 Binary files /dev/null and b/web/images/markers/marker-icon-98.png differ diff --git a/web/images/markers/marker-icon-99.png b/web/images/markers/marker-icon-99.png new file mode 100644 index 0000000..67f6c96 Binary files /dev/null and b/web/images/markers/marker-icon-99.png differ diff --git a/web/images/marker-icon.png b/web/images/markers/marker-icon-undefined.png.png similarity index 100% rename from web/images/marker-icon.png rename to web/images/markers/marker-icon-undefined.png.png diff --git a/web/js/bc.js b/web/js/bc.js index 73d4e2b..451c908 100644 --- a/web/js/bc.js +++ b/web/js/bc.js @@ -17,13 +17,7 @@ window.onload = function () { ).addTo(map) //custom markers: - var customIcon = L.icon({ - iconUrl: 'images/marker-icon.png', - iconSize: [20, 20], // size of the icon - iconAnchor: [10, 10], // point of the icon which will correspond to marker's location - popupAnchor: [-200, 200] // point from which the popup should open relative to the iconAnchor -}); @@ -61,6 +55,16 @@ window.onload = function () { AddStep(latlong[index], latlong[index+1], index) // initialize the animation + function makeCustomMarker(index){ + var customIcon = new L.icon({ + iconUrl: 'images/markers/marker-icon-'+index+'.png', + + iconSize: [30, 30], // size of the icon + iconAnchor: [15, 15], // point of the icon which will correspond to marker's location + popupAnchor: [-200, 200] // point from which the popup should open relative to the iconAnchor + }); + return customIcon + } function makeClusterGroups(country_code_list, index){ @@ -85,7 +89,8 @@ window.onload = function () { function AddMarker(src, index){ makeClusterGroups(country_code_list, index) - var marker = L.marker([src[0], src[1]],{icon: customIcon}) + console.log(index) + var marker = L.marker([src[0], src[1]],{icon: makeCustomMarker(index)}) var popup = L.Popup({ maxHeight: 50}) var popupcontent = "
Hop no:"+hop_list[index]+"
Server name:
"+server_name_list[index]+"
Network owner:
"+asn_list[index]+"