changed worldmap to us map in demos

This commit is contained in:
REJack 2019-09-17 08:26:22 +02:00
parent 556c1c80df
commit be0ce68264
No known key found for this signature in database
GPG key ID: 9F3976CC630CC888
4 changed files with 5 additions and 228 deletions

View file

@ -64,7 +64,7 @@ $(function () {
}
// World map by jvectormap
$('#world-map').vectorMap({
map : 'world_en',
map : 'usa_en',
backgroundColor : 'transparent',
regionStyle : {
initial: {

View file

@ -118,235 +118,12 @@ $(function () {
*/
$('#world-map-markers').mapael({
map: {
name : "world_countries",
name : "usa_states",
zoom: {
enabled: true,
maxLevel: 10
},
defaultPlot: {
size: 12,
attrs: {
"stroke-width": 0,
"stroke-linejoin": "round"
},
attrsHover: {
size: 15,
"fill": '#28a745',
"stroke-width": 0,
animDuration: 0
},
}
},
plots: {
"marker1": {
latitude: 41.90,
longitude: 12.45,
href: '#',
tooltip: {
content: 'Vatican City'
}
},
"marker2": {
latitude: 43.73,
longitude: 7.41,
href: '#',
tooltip: {
content: 'Monaco'
}
},
"marker3": {
latitude: -0.52,
longitude: 166.93,
href: '#',
tooltip: {
content: 'Nauru'
}
},
"marker4": {
latitude: -8.51,
longitude: 179.21,
href: '#',
tooltip: {
content: 'Tuvalu'
}
},
"marker5": {
latitude: 43.93,
longitude: 12.46,
href: '#',
tooltip: {
content: 'San Marino'
}
},
"marker6": {
latitude: 47.14,
longitude: 9.52,
href: '#',
tooltip: {
content: 'Liechtenstein'
}
},
"marker7": {
latitude: 7.11,
longitude: 171.06,
href: '#',
tooltip: {
content: 'Marshall Islands'
}
},
"marker8": {
latitude: 17.3,
longitude: -62.73,
href: '#',
tooltip: {
content: 'Saint Kitts and Nevis'
}
},
"marker9": {
latitude: 3.2,
longitude: 73.22,
href: '#',
tooltip: {
content: 'Maldives'
}
},
"marker10": {
latitude: 35.88,
longitude: 14.5,
href: '#',
tooltip: {
content: 'Malta'
}
},
"marker11": {
latitude: 12.05,
longitude: -61.75,
href: '#',
tooltip: {
content: 'Grenada'
}
},
"marker12": {
latitude: 13.16,
longitude: -61.23,
href: '#',
tooltip: {
content: 'Saint Vincent and the Grenadines'
}
},
"marker13": {
latitude: 13.16,
longitude: -59.55,
href: '#',
tooltip: {
content: 'Barbados'
}
},
"marker14": {
latitude: 17.11,
longitude: -61.85,
href: '#',
tooltip: {
content: 'Antigua and Barbuda'
}
},
"marker15": {
latitude: -4.61,
longitude: 55.45,
href: '#',
tooltip: {
content: 'Seychelles'
}
},
"marker16": {
latitude: 7.35,
longitude: 134.46,
href: '#',
tooltip: {
content: 'Palau'
}
},
"marker17": {
latitude: 42.5,
longitude: 1.51,
href: '#',
tooltip: {
content: 'Andorra'
}
},
"marker18": {
latitude: 14.01,
longitude: -60.98,
href: '#',
tooltip: {
content: 'Saint Lucia'
}
},
"marker19": {
latitude: 6.91,
longitude: 158.18,
href: '#',
tooltip: {
content: 'Federated States of Micronesia'
}
},
"marker20": {
latitude: 1.3,
longitude: 103.8,
href: '#',
tooltip: {
content: 'Singapore'
}
},
"marker21": {
latitude: 1.46,
longitude: 173.03,
href: '#',
tooltip: {
content: 'Kiribati'
}
},
"marker22": {
latitude: -21.13,
longitude: -175.2,
href: '#',
tooltip: {
content: 'Tonga'
}
},
"marker23": {
latitude: 15.3,
longitude: -61.38,
href: '#',
tooltip: {
content: 'Dominica'
}
},
"marker24": {
latitude: -20.2,
longitude: 57.5,
href: '#',
tooltip: {
content: 'Mauritius'
}
},
"marker25": {
latitude: 26.02,
longitude: 50.55,
href: '#',
tooltip: {
content: 'Bahrain'
}
},
"marker26": {
latitude: 0.33,
longitude: 6.73,
href: '#',
tooltip: {
content: 'São Tomé and Príncipe'
}
}
}
}
);

View file

@ -1329,7 +1329,7 @@
<script src="plugins/sparklines/sparkline.js"></script>
<!-- JQVMap -->
<script src="plugins/jqvmap/jquery.vmap.min.js"></script>
<script src="plugins/jqvmap/maps/jquery.vmap.world.js"></script>
<script src="plugins/jqvmap/maps/jquery.vmap.usa.js"></script>
<!-- jQuery Knob Chart -->
<script src="plugins/jquery-knob/jquery.knob.min.js"></script>
<!-- daterangepicker -->

View file

@ -903,7 +903,7 @@
<!-- MAP & BOX PANE -->
<div class="card">
<div class="card-header">
<h3 class="card-title">Visitors Report</h3>
<h3 class="card-title">US-Visitors Report</h3>
<div class="card-tools">
<button type="button" class="btn btn-tool" data-card-widget="collapse">
@ -1560,7 +1560,7 @@
<script src="plugins/jquery-mousewheel/jquery.mousewheel.js"></script>
<script src="plugins/raphael/raphael.min.js"></script>
<script src="plugins/jquery-mapael/jquery.mapael.min.js"></script>
<script src="plugins/jquery-mapael/maps/world_countries.min.js"></script>
<script src="plugins/jquery-mapael/maps/usa_states.min.js"></script>
<!-- ChartJS -->
<script src="plugins/chart.js/Chart.min.js"></script>