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.

80 lines
1.8 KiB

3 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. $(function() {
  2. 'use strict';
  3. jQuery('#visitfromworld').vectorMap({
  4. map: 'world_mill_en',
  5. backgroundColor: 'transparent',
  6. borderColor: '#000',
  7. borderOpacity: 0,
  8. borderWidth: 0,
  9. zoomOnScroll: false,
  10. color: '#93d5ed',
  11. regionStyle: {
  12. initial: {
  13. fill: '#bce2fb',
  14. 'stroke-width': 1,
  15. stroke: '#fff'
  16. }
  17. },
  18. markerStyle: {
  19. initial: {
  20. r: 5,
  21. fill: '#93d5ed',
  22. 'fill-opacity': 1,
  23. stroke: '#93d5ed',
  24. 'stroke-width': 1,
  25. 'stroke-opacity': 1
  26. }
  27. },
  28. enableZoom: true,
  29. hoverColor: '#79e580',
  30. markers: [
  31. {
  32. latLng: [21.0, 78.0],
  33. name: 'India : 9347',
  34. style: { fill: '#2961ff' }
  35. },
  36. {
  37. latLng: [-33.0, 151.0],
  38. name: 'Australia : 250',
  39. style: { fill: '#ff821c' }
  40. },
  41. {
  42. latLng: [36.77, -119.41],
  43. name: 'USA : 250',
  44. style: { fill: '#40c4ff' }
  45. },
  46. {
  47. latLng: [55.37, -3.41],
  48. name: 'UK : 250',
  49. style: { fill: '#398bf7' }
  50. },
  51. {
  52. latLng: [25.2, 55.27],
  53. name: 'UAE : 250',
  54. style: { fill: '#6fc826' }
  55. }
  56. ],
  57. hoverOpacity: null,
  58. normalizeFunction: 'linear',
  59. scaleColors: ['#93d5ed', '#93d5ee'],
  60. selectedColor: '#c9dfaf',
  61. selectedRegions: [],
  62. showTooltip: true,
  63. onRegionClick: function(element, code, region) {
  64. var message =
  65. 'You clicked "' +
  66. region +
  67. '" which has the code: ' +
  68. code.toUpperCase();
  69. alert(message);
  70. }
  71. });
  72. $('#datepickerwidget').datetimepicker({
  73. inline: true,
  74. format: 'L'
  75. });
  76. var ps = new PerfectScrollbar(".scrollable", {
  77. wheelSpeed: 10,
  78. wheelPropagation: true,
  79. minScrollbarLength: 5
  80. });
  81. });