Dashboard sipadu mbip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

map-vector.js 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. 'use strict';
  2. setTimeout(function(){
  3. ! function(maps) {
  4. "use strict";
  5. var b = function() {};
  6. b.prototype.init = function() {
  7. maps("#world-map-markers").vectorMap({
  8. map: "world_mill_en",
  9. scaleColors: ["#2196F3", "#1B8BF9"],
  10. normalizeFunction: "polynomial",
  11. hoverOpacity: .7,
  12. hoverColor: !1,
  13. regionStyle: {
  14. initial: {
  15. fill: "#EC407A"
  16. }
  17. },
  18. markerStyle: {
  19. initial: {
  20. r: 9,
  21. fill: "#2196F3",
  22. "fill-opacity": .9,
  23. stroke: "#fff",
  24. "stroke-width": 7,
  25. "stroke-opacity": .4
  26. },
  27. hover: {
  28. stroke: "#fff",
  29. "fill-opacity": 1,
  30. "stroke-width": 1.5
  31. }
  32. },
  33. backgroundColor: "transparent",
  34. markers: [{
  35. latLng: [41.9, 12.45],
  36. name: "Vatican City"
  37. }, {
  38. latLng: [43.73, 7.41],
  39. name: "Monaco"
  40. }, {
  41. latLng: [-.52, 166.93],
  42. name: "Nauru"
  43. }, {
  44. latLng: [-8.51, 179.21],
  45. name: "Tuvalu"
  46. }, {
  47. latLng: [43.93, 12.46],
  48. name: "San Marino"
  49. }, {
  50. latLng: [47.14, 9.52],
  51. name: "Liechtenstein"
  52. }, {
  53. latLng: [7.11, 171.06],
  54. name: "Marshall Islands"
  55. }, {
  56. latLng: [17.3, -62.73],
  57. name: "Saint Kitts and Nevis"
  58. }, {
  59. latLng: [3.2, 73.22],
  60. name: "Maldives"
  61. }, {
  62. latLng: [35.88, 14.5],
  63. name: "Malta"
  64. }, {
  65. latLng: [12.05, -61.75],
  66. name: "Grenada"
  67. }, {
  68. latLng: [13.16, -61.23],
  69. name: "Saint Vincent and the Grenadines"
  70. }, {
  71. latLng: [13.16, -59.55],
  72. name: "Barbados"
  73. }, {
  74. latLng: [17.11, -61.85],
  75. name: "Antigua and Barbuda"
  76. }, {
  77. latLng: [-4.61, 55.45],
  78. name: "Seychelles"
  79. }, {
  80. latLng: [7.35, 134.46],
  81. name: "Palau"
  82. }, {
  83. latLng: [42.5, 1.51],
  84. name: "Andorra"
  85. }, {
  86. latLng: [14.01, -60.98],
  87. name: "Saint Lucia"
  88. }, {
  89. latLng: [6.91, 158.18],
  90. name: "Federated States of Micronesia"
  91. }, {
  92. latLng: [1.3, 103.8],
  93. name: "Singapore"
  94. }, {
  95. latLng: [1.46, 173.03],
  96. name: "Kiribati"
  97. }, {
  98. latLng: [-21.13, -175.2],
  99. name: "Tonga"
  100. }, {
  101. latLng: [15.3, -61.38],
  102. name: "Dominica"
  103. }, {
  104. latLng: [-20.2, 57.5],
  105. name: "Mauritius"
  106. }, {
  107. latLng: [26.02, 50.55],
  108. name: "Bahrain"
  109. }, {
  110. latLng: [.33, 6.73],
  111. name: "São Tomé and Príncipe"
  112. }]
  113. }), maps("#asia").vectorMap({
  114. map: "asia_mill",
  115. backgroundColor: "transparent",
  116. regionStyle: {
  117. initial: {
  118. fill: "#4DB6AC"
  119. }
  120. }
  121. }), maps("#india").vectorMap({
  122. map: "in_mill",
  123. backgroundColor: "transparent",
  124. regionStyle: {
  125. initial: {
  126. fill: "#1B8BF9"
  127. }
  128. }
  129. }), maps("#usa").vectorMap({
  130. map: "us_aea_en",
  131. backgroundColor: "transparent",
  132. regionStyle: {
  133. initial: {
  134. fill: "#CDDC39"
  135. }
  136. }
  137. }), maps("#uk").vectorMap({
  138. map: "uk_mill_en",
  139. backgroundColor: "transparent",
  140. regionStyle: {
  141. initial: {
  142. fill: "#81c868"
  143. }
  144. }
  145. }),
  146. maps("#canada").vectorMap({
  147. map: "uk_mill_en",
  148. backgroundColor: "transparent",
  149. regionStyle: {
  150. initial: {
  151. fill: "#18FFFF"
  152. }
  153. }
  154. })
  155. }, maps.VectorMap = new b, maps.VectorMap.Constructor = b
  156. }(window.jQuery),
  157. function(maps) {
  158. "use strict";
  159. maps.VectorMap.init()
  160. }(window.jQuery);
  161. },350);