OXIESEC PANEL
- Current Dir:
/
/
home
/
cubot
/
docroot
/
showcase
/
js
/
geoChart
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
12/31/2022 06:53:36 AM
rwxr-xr-x
📄
Bank_16.png
673 bytes
08/14/2022 11:05:27 AM
rw-r--r--
📄
Bank_24.png
1.53 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
Bank_24_green.png
1.23 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
Bank_24_orange.png
1.11 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
Bank_24_red.png
1.39 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
Bank_red.png
1017 bytes
08/14/2022 11:05:26 AM
rw-r--r--
📄
MapGeocode.js
17.86 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
MapGeocode.js_05jan
17.7 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
blue-dot-1.png
1.14 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
blue-dot.png
1.31 KB
08/14/2022 11:05:26 AM
rw-r--r--
📄
blue_MarkerA.png
1.32 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
blue_MarkerB.png
1.32 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
blue_MarkerC.png
1.36 KB
08/14/2022 11:05:26 AM
rw-r--r--
📄
callout-background.png
6.08 KB
08/14/2022 11:05:26 AM
rw-r--r--
📄
highlightMap.js
37.5 KB
08/14/2022 11:05:26 AM
rw-r--r--
📄
latLng.js
21.65 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
mapAll.js
30.56 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
marker-green.png
2.31 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
marker_yellow.png
1.39 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
orange_MarkerM.png
1.26 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
red-dot-1.png
1.16 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
red-dot.png
1.31 KB
08/14/2022 11:05:27 AM
rw-r--r--
📄
stock-illustration-4811372-bank-icon.jpg
67.5 KB
08/14/2022 11:05:27 AM
rw-r--r--
Editing: highlightMap.js
Close
function highlightMap(map, mapType, FT_TableID){ var mapColors=["#008000","#C71585","#FFD700","#1E90FF", "#ADFF2F" ]; var Wzoom=0.5; var layer=new google.maps.FusionTablesLayer(); if(mapType=="World"){ layer = new google.maps.FusionTablesLayer({ query: { select: 'kml_4326', from: FT_TableID, where: "region IN ('Africa', 'North America', 'South America', 'Europe', 'Asia')" }, options:{ suppressInfoWindows: true }, styles: [{ polygonOptions: { fillColor: "#FFFFFF", fillOpacity: 0.0 } }, { where: "region ='Africa'", polygonOptions: { fillColor: "#008000", fillOpacity: 0.5 } }, { where: "region IN ('North America', 'South America')", polygonOptions: { fillColor: "#C71585", fillOpacity: 0.5 } }, { where: "region ='Europe'", polygonOptions: { fillColor: "#FFD700", fillOpacity: 0.5 } }, { where: "region ='Asia'", polygonOptions: { fillColor: "#1E90FF", fillOpacity: 0.5 } }, { where: "region='Oceania'", polygonOptions: { fillColor: "#ADFF2F", fillOpacity: 0.5 } } ] }); } else if(mapType=="India-Telecom"){ layer = new google.maps.FusionTablesLayer({ query: { select: 'kml_4236', from: FT_TableID, where: "name_0='India'" }, styles: [{ polygonOptions: { fillColor: "#FFFFFF", fillOpacity: 0.0 } }, { where: "name_1 IN ('Gujarat', 'Karnataka', 'Tamil Nadu', 'Andhra Pradesh', 'Maharashtra')", polygonOptions: { fillColor: "#008000" } }, { where: "name_1 IN ('Delhi', 'Haryana', 'Punjab', 'Kerala', 'Rajasthan', 'West Bengal', 'Lucknow', 'Meerut', 'Uttar Pradesh', 'Uttaranchal', 'Madhya Pradesh')", polygonOptions: { fillColor: "#00FF00" } }, { where: "name_1 IN ('Bihar', 'Assam', 'Sikkim', 'Orissa', 'Himachal Pradesh', 'Jammu and Kashmir', 'Sri Nagar', 'Meghalaya', 'Mizoram', 'Tripura', 'Arunachal Pradesh', 'Manipur', 'Nagaland', 'Chhattisgarh', 'Jharkhand')", polygonOptions: { fillColor: "#ADFF2F" } } ], suppressInfoWindows: true }); } else if(mapType=="India-States"){ layer = new google.maps.FusionTablesLayer({ query: { select: 'kml_4326', from: FT_TableID, where: "name_0='India'" }, styles:[{ polygonOptions: { fillColor: "#FFFFFF", fillOpacity: 0.0 } }, { where: "name_1 IN ('Jharkhand','West Bengal','Orissa','Bihar','Meghalaya','Chhattisgarh','Tripura','Assam', 'Arunachal Pradesh', 'Sikkim', 'Manipur', 'Nagaland', 'Mizoram')", polygonOptions: { fillColor: "#008000", fillOpacity: 0.6 } }, { where: "name_1 IN ('Maharashtra','Gujarat','Goa')", polygonOptions: { fillColor: "#C71585", fillOpacity: 0.6 } }, { where: "name_1 IN ('Haryana','Himachal Pradesh','Uttar Pradesh','Rajasthan','Jammu and Kashmir','Punjab','Delhi','Uttaranchal', 'Madhya Pradesh')", polygonOptions: { fillColor: "#FFD700", fillOpacity: 0.6 } }, { where: "name_1 IN ('Tamil Nadu','Kerala','Andhra Pradesh','Karnataka','Pondicherry')", polygonOptions: { fillColor: "#1E90FF", fillOpacity: 0.6 } } ], suppressInfoWindows: true }); } else if(mapType=="India-Odisha1"){ layer = new google.maps.FusionTablesLayer({ query: { select: 'kml_4326', from: 2498, where: "name_0='India' and name_1='Maharashtra'" }, styles:[{ polygonOptions: { fillColor: "#FFFFFF", fillOpacity: 0.0 } }, { where: "name_2 IN ('Pune')", polygonOptions: { fillColor: "#008000", fillOpacity:1 } } ], suppressInfoWindows: true }); } else if(mapType=="India-Odisha"){ layer = new google.maps.FusionTablesLayer({ query: { select: 'kml_4326', from: FT_TableID, where: "name_0='Orissa'" }, styles:[{ polygonOptions: { fillColor: "#FFFFFF", fillOpacity: 0.0 } }, { where: "name_1 IN ('Bhubaneswar','Brahmapur','Angul')", polygonOptions: { fillColor: "#008000", fillOpacity: 0.6 } }, { where: "name_1 IN ('Bhadrak','Sambalpur','Balasore')", polygonOptions: { fillColor: "#C71585", fillOpacity: 0.6 } }, { where: "name_1 IN ('Rayagada','Bhawanipatna','Balangir')", polygonOptions: { fillColor: "#FFD700", fillOpacity: 0.6 } }, { where: "name_1 IN ('Jeypore','Bargarh','Rourkela','Baripada')", polygonOptions: { fillColor: "#1E90FF", fillOpacity: 0.6 } } ], suppressInfoWindows: true }); } else if(mapType == "North America"){ layer = new google.maps.FusionTablesLayer({ query: { select: 'kml_4326', from: FT_TableID, where: "name_0 IN ('Barbados', 'Belize', 'Canada', 'Costa Rica', 'Cuba', 'Dominica', 'Dominican Republic', 'El Salvador', 'Grenada', 'Guatemala', 'Haiti', 'Honduras', 'Jamaica', 'Mexico', 'Nicaragua', 'Panama', 'Saint Kitts and Nevis', 'Saint Lucia', 'Saint Vincent and the Grenadines', 'Trinidad and Tobago', 'United States of America')" }, options:{ suppressInfoWindows: true }, styles: [{ where: "name_0 IN ('Barbados', 'Belize', 'Canada', 'Costa Rica')", polygonOptions: { fillColor: "#9966FF", fillOpacity: 0.6 } }, { where: "name_0 IN ('Cuba', 'Dominica', 'Dominican Republic', 'El Salvador', 'United States of America')", polygonOptions: { fillColor: "#008000", fillOpacity: 0.6 } }, { where: "name_0 IN ('Grenada', 'Guatemala', 'Haiti', 'Honduras')", polygonOptions: { fillColor: "#C71585", fillOpacity: 0.6 } }, { where: "name_0 IN ('Jamaica', 'Mexico', 'Nicaragua', 'Panama')", polygonOptions: { fillColor: "#FFD700", fillOpacity: 0.6 } }, { where: "name_0 IN ('Saint Kitts and Nevis', 'Saint Lucia', 'Saint Vincent and the Grenadines', 'Trinidad and Tobago')", polygonOptions: { fillColor: "#1E90FF", fillOpacity: 0.6 } } ] }); } else if(mapType == "South America"){ layer = new google.maps.FusionTablesLayer({ query: { select: 'kml_4326', from: FT_TableID, where: "name_0 IN ('Argentina', 'Bolivia', 'Brazil', 'Chile', 'Colombia', 'Ecuador', 'Guyana', 'Paraguay', 'Peru', 'Suriname', 'Uruguay', 'Venezuela')" }, options: { suppressInfoWindows: true }, styles: [{ where: "name_0 IN ('Argentina', 'Venezuela', 'Ecuador')", polygonOptions: { fillColor: "#9966FF", fillOpacity: 0.6 } }, { where: "name_0 IN ('Bolivia', 'Guyana', 'Uruguay')", polygonOptions: { fillColor: "#008000", fillOpacity: 0.6 } }, { where: "name_0 IN ('Brazil', 'Chile')", polygonOptions: { fillColor: "#C71585", fillOpacity: 0.6 } }, { where: "name_0 IN ('Peru', 'Colombia', 'Paraguay', 'Suriname')", polygonOptions: { fillColor: "#FFD700", fillOpacity: 0.6 } }] }); } else if(mapType == "Africa"){ layer = new google.maps.FusionTablesLayer({ query: { select: 'kml_4326', from: FT_TableID }, options: { suppressInfoWindows: true }, styles: [{ polygonOptions: { fillColor: "#FFFFFF", fillOpacity: 0.2 } }, { where: "name_0 IN ('Algeria', 'Angola', 'Benin', 'Botswana', 'Burkina Faso', 'Burundi', 'Cameroon', 'Central African Republic', 'Chad', 'Democratic Republic of Djibouti')", polygonOptions: { fillColor: "#008000", fillOpacity: 0.6 } }, { where: "name_0 IN ('Egypt', 'Equatorial Guinea', 'Eritrea', 'Ethiopia', 'Gabon', 'Ghana', 'Guinea', 'Guinea-Bissau', 'Kenya', 'Liberia', 'Libya')", polygonOptions: { fillColor: "#C71585", fillOpacity: 0.6 } }, { where: "name_0 IN ('Madagascar', 'Malawi', 'Mali', 'Morocco', 'Mozambique', 'Namibia', 'Niger', 'Nigeria', 'Rwanda', 'Senegal', 'Sierra Leone', 'Congo (Kinshasa)')", polygonOptions: { fillColor: "#FFD700", fillOpacity: 0.6 } }, { where: "name_0 IN ('Somalia', 'South Africa', 'South Sudan', 'Sudan', 'Swaziland', 'Tanzania', 'Togo', 'Tunisia', 'Uganda', 'Zambia', 'Zimbabwe', 'Congo (Brazzaville)')", polygonOptions: { fillColor: "#1E90FF", fillOpacity: 0.6 } }] }); } else if(mapType == "Europe"){ layer = new google.maps.FusionTablesLayer({ query: { select: 'kml_4326', from: FT_TableID }, options: { suppressInfoWindows: true }, styles: [{ polygonOptions: { fillColor: "#FFFFFF", fillOpacity: 0.2 } }, { where: "name_0 IN ('Albania', 'Andorra', 'Armenia', 'Austria', 'Azerbaijan', 'Belarus', 'Belgium', 'Bosnia and Herzegovina', 'Bulgaria', ' Croatia', 'Cyprus')", polygonOptions: { fillColor: "#008000", fillOpacity: 0.6 } }, { where: "name_0 IN ('Czech Republic', 'Denmark', 'Estonia', 'Finland', 'France', 'Georgia', 'Germany', 'Greece', 'Hungary', 'Iceland', 'Ireland')", polygonOptions: { fillColor: "#C71585", fillOpacity: 0.6 } }, { where: "name_0 IN ('Italy', 'Spain', 'Latvia', 'Liechtenstein', 'Lithuania', 'Luxembourg', 'Macedonia', 'Malta', 'Moldova', 'Monaco', 'Montenegro', 'Netherlands')", polygonOptions: { fillColor: "#FFD700", fillOpacity: 0.6 } }, { where: "name_0 IN ('Norway', 'Poland', 'Portugal', 'Romania', 'San Marino', 'Serbia', 'Slovakia', 'Slovenia', 'Sweden', 'Switzerland', 'Ukraine', 'United Kingdom', 'Vatican City')", polygonOptions: { fillColor: "#1E90FF", fillOpacity: 0.6 } }] }); } else if(mapType == "Asia"){ layer = new google.maps.FusionTablesLayer({ query: { select: 'kml_4326', from: FT_TableID }, options: { suppressInfoWindows: true }, styles: [{ polygonOptions: { fillColor: "#FFFFFF", fillOpacity: 0.2 } }, { where: "name_0 IN ('Pakistan' 'Bahrain', 'China', 'Iran', 'Iraq')", polygonOptions: { fillColor: "#008000", fillOpacity: 0.6 } }, { where: "name_0 IN ('India', 'Israel', 'Japan', 'Jordan', 'Kazakhstan', 'Korea, North', 'Kuwait', 'Kyrgyzstan', 'Lebanon')", polygonOptions: { fillColor: "#C71585", fillOpacity: 0.6 } }, { where: "name_0 IN ('Maldives', 'Mongolia', 'Nepal', 'Oman', 'Qatar', 'Russia', 'Saudi Arabia', 'Bhutan', 'Afghanistan', 'Turkmenistan')", polygonOptions: { fillColor: "#FFD700", fillOpacity: 0.6 } }, { where: "name_0 IN ('Korea, South', 'Sri Lanka', 'Syria', 'Tajikistan', 'Turkey', 'United Arab Emirates', 'Uzbekistan', 'Yemen', 'Bangladesh')", polygonOptions: { fillColor: "#1E90FF", fillOpacity: 0.6 } }] }); } else if(mapType == "Southeast Asia"){ layer = new google.maps.FusionTablesLayer({ query: { select: 'kml_4326', from: FT_TableID, where: "name_0 IN ('Brunei', 'Myanmar', 'Cambodia', 'East Timor', 'Indonesia', 'Thailand', 'Laos', 'Malaysia', 'Philippines', 'Singapore', 'Vietnam')" }, options: { suppressInfoWindows: true }, styles: [{ polygonOptions: { fillColor: "#FFFFFF", fillOpacity: 0.2 } }, { where: "name_0 IN ('Brunei', 'Myanmar', 'Philippines')", polygonOptions: { fillColor: "#008000", fillOpacity: 0.6 } }, { where: "name_0 IN ('Cambodia', 'Indonesia', 'Singapore')", polygonOptions: { fillColor: "#C71585", fillOpacity: 0.6 } }, { where: "name_0 IN ('East Timor', 'Thailand', 'Vietnam')", polygonOptions: { fillColor: "#FFD700", fillOpacity: 0.6 } }, { where: "name_0 IN ('Laos', 'Malaysia')", polygonOptions: { fillColor: "#1E90FF", fillOpacity: 0.6 } }] }); } else if(mapType == "Australia"){ layer = new google.maps.FusionTablesLayer({ query: { select: 'kml_4326', from: FT_TableID, where: "name_0 IN ('Australia', 'Fiji', 'Kiribati', 'Marshall Islands', 'Micronesia', 'Nauru', 'New Zealand', 'Palau', 'Papua New Guinea', 'Samoa', 'Solomon Islands', 'Tonga', 'Tuvalu', 'Vanuatu')" }, options: { suppressInfoWindows: true }, styles: [{ polygonOptions: { fillColor: "#FFFFFF", fillOpacity: 0.2 } }, { where: "name_0 IN ('Australia', 'Fiji', 'Kiribati')", polygonOptions: { fillColor: "#008000", fillOpacity: 0.6 } }, { where: "name_0 IN ('Marshall Islands', 'Micronesia', 'Nauru')", polygonOptions: { fillColor: "#C71585", fillOpacity: 0.6 } }, { where: "name_0 IN ( 'New Zealand', 'Palau', 'Papua New Guinea')", polygonOptions: { fillColor: "#FFD700", fillOpacity: 0.6 } }, { where: "name_0 IN ('Samoa', 'Solomon Islands', 'Tonga', 'Tuvalu', 'Vanuatu')", polygonOptions: { fillColor: "#1E90FF", fillOpacity: 0.6 } }] }); } else if(mapType == "usa"){ layer = new google.maps.FusionTablesLayer({ query:{ select: 'kml_4326', from: FT_TableID, where: "name_0='United States of America'" }, options:{ suppressInfoWindows: true }, styles: [{ where: "name_1 IN ('Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', 'Colorado', 'Connecticut', 'Delaware', 'District of Columbia', 'Florida')", polygonOptions: { fillColor: "#3333CC", fillOpacity: 0.6 } }, { where: "name_1 IN ('Georgia', 'Hawaii', 'Idaho', 'Illinois', 'Indiana', 'Iowa', 'Kansas', 'Kentucky', 'Louisiana', 'Maine')", polygonOptions: { fillColor: "#3399CC", fillOpacity: 0.6 } }, { where: "name_1 IN ('Maryland', 'Massachusetts', 'Michigan', 'Minnesota', 'Mississippi', 'Missouri', 'Montana', 'Nebraska', 'Nevada', 'New Hampshire')", polygonOptions: { fillColor: "#33FFCC", fillOpacity: 0.6 } }, { where: "name_1 IN ('New Jersey', 'New Mexico', 'New York', 'North Carolina', 'North Dakota', 'Ohio', 'Oklahoma', 'Oregon', 'Pennsylvania', 'Rhode Island')", polygonOptions: { fillColor: "#6666FF", fillOpacity: 0.6 } }, { where: "name_1 IN ('South Carolina', 'South Dakota', 'Tennessee', 'Texas', 'Utah', 'Vermont', 'Virginia', 'Washington', 'West Virginia', 'Wisconsin', 'Wyoming')", polygonOptions: { fillColor: "#9966FF", fillOpacity: 0.6 } }] }); } else if(mapType=="Malaysia"){ layer = new google.maps.FusionTablesLayer({ query: { select: 'kml_4326', from: FT_TableID, where: "name_0 = 'Malaysia'" }, options: { suppressInfoWindows: true }, styles: [{ where: "name_1 IN ('Sabah', 'Sarawak')", polygonOptions: { fillColor: "#651067", fillOpacity: 0.6 } }, { where: "name_1 IN ('Selangor', 'Negeri Sembilan', 'Melaka', 'Perak')", polygonOptions: { fillColor: "#109618", fillOpacity: 0.6 } }, { where: "name_1 IN ('Kedah', 'Perlis', 'Pulau Pinang')", polygonOptions: { fillColor: "#e67300", fillOpacity: 0.6 } }, { where: "name_1 IN ('Johor')", polygonOptions: { fillColor: "#6633cc", fillOpacity: 0.6 } }, { where: "name_1 IN ('Trengganu', 'Pahang', 'Kelantan')", polygonOptions: { fillColor: "#990099", fillOpacity: 0.6 } } ] }); } layer.setMap(map); return layer; }