Moved libraries around, added US state field to loader
This commit is contained in:
1 parent
54752ce05b
commit
d7c008d807
16 files changed
+189
-280
No files matched your search
@@ -1 +0,0 @@
|
||||
$.fn.vectorMap('addMap', 'world_mill_en',{"insets": [{"width": 900.0, "top": 0, "height": 440.7063107441331, "bbox": [{"y": -12671671.123330014, "x": -20004297.151525836}, {"y": 6930392.02513512, "x": 20026572.394749384}], "left": 0}], "paths": {"BD": {"path": "M652.71,228.85l-0.04,1.38l-0.46,-0.21l-0.42,0.3l0.05,0.65l-0.17,-1.37l-0.48,-1.26l-1.08,-1.6l-0.23,-0.13l-2.31,-0.11l-0.31,0.36l0.21,0.98l-0.6,1.11l-0.8,-0.4l-0.37,0.09l-0.23,0.3l-0.54,-0.21l-0.78,-0.19l-0.38,-2.04l-0.83,-1.89l0.4,-1.5l-0.16,-0.35l-1.24,-0.57l0.36,-0.62l1.5,-0.95l0.02,-0.49l-1.62,-1.26l0.64,-1.31l1.7,1.0l0.12,0.04l0.96,0.11l0.19,1.62l0.25,0.26l2.38,0.37l2.32,-0.04l1.06,0.33l-0.92,1.79l-0.97,0.13l-0.23,0.16l-0.77,1.51l0.05,0.35l1.37,1.37l0.5,-0.14l0.35,-1.46l0.24,-0.0l1.24,3.92Z", "name": "Bangladesh"}, "BE": {"path": "M429.28,143.95l1.76,0.25l0.13,-0.01l2.16,-0.64l1.46,1.34l1.26,0.71l-0.23,1.8l-0.44,0.08l-0.24,0.25l-0.2,1.36l-1.8,-1.22l-0.23,-0.05l-1.14,0.23l-1.62,-1.43l-1.15,-1.31l-0.21,-0.1l-0.95,-0.04l-0.21,-0.68l1.66,-0.54Z", "name": "Belgium"}, "BF": {"path": "M413.48,260.21l-1.22,-0.46l-0.13,-0.02l-1.17,0.1l-0.15,0.06l-0.73,0.53l-0.87,-0.41l-0.39,-0.75l-0.13,-0.13l-0.98,-0.48l-0.14,-1.2l0.63,-0.99l0.05,-0.18l-0.05,-0.73l1.9,-2.01l0.08,-0.14l0.35,-1.65l0.49,-0.44l1.05,0.3l0.21,-0.02l1.05,-0.52l0.13,-0.13l0.3,-0.58l1.87,-1.1l0.11,-0.1l0.43,-0.72l2.23,-1.01l1.21,-0.32l0.51,0.4l0.19,0.06l1.25,-0.01l-0.14,0.89l0.01,0.13l0.34,1.16l0.06,0.11l1.35,1.59l0.07,1.13l0.24,0.28l2.64,0.53l-0.05,1.39l-0.42,0.59l-1.11,0.21l-0.22,0.17l-0.46,0.99l-0.69,0.23l-2.12,-0.05l-1.14,-0.2l-0.19,0.03l-0.72,0.36l-1.07,-0.17l-4.35,0.12l-0.29,0.29l-0.06,1.44l0.25,1.45Z", "name": "Burkina Faso"}, "BG": {"path": "M477.63,166.84l0.51,0.9l0.33,0.14l0.9,-0.21l1.91,0.47l3.68,0.16l0.17,-0.05l1.2,-0.75l2.78,-0.67l1.72,1.05l1.02,0.24l-0.97,0.97l-0.91,2.17l0.0,0.24l0.56,1.19l-1.58,-0.3l-0.16,0.01l-2.55,0.95l-0.2,0.28l-0.02,1.23l-1.92,0.24l-1.68,-0.99l-0.27,-0.02l-1.94,0.8l-1.52,-0.07l-0.15,-1.72l-0.12,-0.21l-0.99,-0.76l0.18,-0.18l0.02,-0.39l-0.17,-0.22l0.33,-0.75l0.91,-0.91l0.01,-0.42l-1.16,-1.25l-0.18,-0.89l0.24,-0.27Z", "name": "Bulgaria"}, "BA": {"path": "M468.39,164.66l0.16,0.04l0.43,-0.0l-0.43,0.93l0.06,0.34l1.08,1.06l-0.28,1.09l-0.5,0.13l-0.47,0.28l-0.86,0.74l-0.1,0.16l-0.28,1.29l-1.81,-0.94l-0.9,-1.22l-1.0,-0.73l-1.1,-1.1l-0.55,-0.96l-1.11,-1.3l0.3,-0.75l0.59,0.46l0.42,-0.04l0.46,-0.54l1.0,-0.06l2.11,0.5l1.72,-0.03l1.06,0.64Z", "name": "Bosnia and Herzegovina"}, "BN": {"path": "M707.34,273.57l0.76,-0.72l1.59,-1.03l-0.18,1.93l-0.9,-0.06l-0.28,0.14l-0.31,0.51l-0.68,-0.78Z", "name": "Brunei"}, "BO": {"path": "M263.83,340.79l-0.23,-0.12l-2.86,-0.11l-0.28,0.17l-0.77,1.67l-1.17,-1.51l-0.18,-0.11l-3.28,-0.64l-0.28,0.1l-2.02,2.3l-1.43,0.29l-0.91,-3.35l-1.31,-2.88l0.75,-2.41l-0.09,-0.32l-1.23,-1.03l-0.31,-1.76l-0.05,-0.12l-1.12,-1.6l1.49,-2.62l0.01,-0.28l-1.0,-2.0l0.48,-0.72l0.02,-0.29l-0.37,-0.78l0.87,-1.13l0.06,-0.18l0.05,-2.17l0.12,-1.71l0.5,-0.8l0.01,-0.3l-1.9,-3.58l1.3,0.15l1.34,-0.05l0.23,-0.12l0.51,-0.7l2.12,-0.99l1.31,-0.93l2.81,-0.37l-0.21,1.51l0.01,0.13l0.29,0.91l-0.19,1.64l0.11,0.27l2.72,2.27l0.15,0.07l2.71,0.41l0.92,0.88l0.12,0.07l1.64,0.49l1.0,0.71l0.18,0.06l1.5,-0.02l1.24,0.64l0.1,1.31l0.05,0.14l0.44,0.68l0.02,0.73l-0.44,0.03l-0.27,0.39l0.96,2.99l0.28,0.21l4.43,0.1l-0.28,1.12l0.0,0.15l0.27,1.02l0.15,0.19l1.27,0.67l0.52,1.42l-0.42,1.91l-0.66,1.1l-0.04,0.2l0.21,1.3l-0.19,0.13l-0.01,-0.27l-0.15,-0.24l-2.33,-1.33l-0.14,-0.04l-2.38,-0.03l-4.36,0.76l-0.21,0.16l-1.2,2.29l-0.03,0.13l-0.06,1.37l-0.79,2.53l-0.05,-0.08Z", "name": "Bolivia"}, "JP": {"path": "M781.17,166.78l1.8,0.67l0.28,-0.04l1.38,-1.01l0.43,2.67l-3.44,0.77l-0.18,0.12l-2.04,2.79l-3.71,-1.94l-0.42,0.15l-1.29,3.11l-2.32,0.04l-0.3,-2.63l1.12,-2.1l2.51,-0.16l0.28,-0.25l0.73,-4.22l0.58,-1.9l2.59,2.84l2.0,1.1ZM773.66,187.36l-0.92,2.24l-0.01,0.2l0.4,1.3l-1.18,1.81l-3.06,1.28l-4.35,0.17l-0.19,0.08l-3.4,3.06l-1.36,-0.87l-0.1,-1.95l-0.34,-0.28l-4.35,0.62l-2.99,1.33l-2.87,0.05l-0.28,0.2l0.09,0.33l2.37,1.93l-1.57,4.44l-1.35,0.97l-0.9,-0.79l0.57,-2.32l-0.15,-0.34l-1.5,-0.77l-0.81,-1.53l2.04,-0.75l0.14,-0.1l1.28,-1.72l2.47,-1.43l1.84,-1.92l4.83,-0.82l2.62,0.57l0.33,-0.16l2.45,-4.77l1.38,1.14l0.38,0.0l5.1,-4.02l0.09,-0.11l1.57,-3.57l0.02,-0.16l-0.42,-3.22l0.94,-1.67l2.27,-0.47l1.26,3.82l-0.07,2.23l-2.26,2.86l-0.06,0.19l0.04,2.93ZM757.85,196.18l0.22,0.66l-1.11,1.33l-0.8,-0.7l-0.33,-0.04l-1.28,0.65l-0.14,0.15l-0.54,1.34l-1.17,-0.57l0.02,-1.03l1.2,-1.45l1.24,0.28l0.29,-0.1l0.9,-1.03l1.51,0.5Z", "name": "Japan"}, "BI": {"path": "M494.7,295.83l-0.14,-2.71l-0.04,-0.13l-0.34,-0.62l0.93,0.12l0.3,-0.16l0.67,-1.25l0.9,0.11l0.11,0.76l0.08,0.16l0.46,0.48l0.02,0.56l-0.55,0.48l-0.96,1.29l-0.82,0.82l-0.61,0.07Z", "name": "Burundi"}, "BJ": {"path": "M427.4,268.94l-1.58,0.22l-0.52,-1.45l0.11,-5.73l-0.08,-0.21l-0.43,-0.44l-0.09,-1.13l-0.09,-0.19l-1.52,-1.52l0.24,-1.01l0.7,-0.23l0.18,-0.16l0.45,-0.97l1.07,-0.21l0.19,-0.12l0.53,-0.73l0.73,-0.65l0.68,-0.0l1.69,1.3l-0.08,0.67l0.02,0.14l0.52,1.38l-0.44,0.9l-0.01,0.24l0.2,0.52l-1.1,1.42l-0Line truncated
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1 @@
|
||||
$.fn.vectorMap('addMap', 'europe',{"insets": [{"width": 900.0, "top": 0, "height": 790.3366477906968, "bbox": [{"y": -9690294.156947838, "x": -4159649.2860909165}, {"y": -3201145.6268246886, "x": 3229902.613642692}], "left": 0}], "paths": {"BE": {"path": "M400.73,433.08l-0.52,-2.25l-0.56,-0.57l-1.77,-0.48l-2.13,-0.14l-0.38,-0.28l-0.52,-2.3l-0.72,-1.23l-1.11,-0.96l-1.47,0.14l-1.43,0.73l-0.9,0.22l-0.92,-0.59l-2.1,-2.12l-0.16,-0.43l0.22,-0.99l-0.84,-1.6l-0.09,-0.51l5.63,-2.88l3.56,-1.53l1.28,-0.35l0.35,1.28l0.4,0.6l0.61,0.41l0.8,0.0l1.32,-0.72l1.22,0.17l0.87,0.33l1.05,0.77l1.13,0.14l2.05,-0.73l1.86,-1.11l0.78,-1.23l1.7,0.4l0.63,-0.24l0.21,-0.45l-0.2,-0.84l1.02,-0.55l1.09,0.83l0.82,0.06l1.67,-1.16l0.35,0.38l0.35,0.92l0.55,0.19l1.3,-0.08l1.17,-1.0l0.54,1.83l1.68,1.4l1.62,0.43l2.18,-0.42l1.56,1.44l2.54,0.82l0.24,0.29l-0.08,0.46l-0.9,1.69l-0.1,0.88l-1.21,1.2l-0.17,0.9l0.73,1.23l0.43,0.19l1.64,-0.55l0.11,0.13l-0.41,-0.01l-0.41,0.39l0.39,0.41l2.43,0.07l1.66,1.17l0.54,0.79l0.69,0.45l-0.57,0.57l-0.1,0.41l0.2,0.53l0.57,0.56l1.13,0.22l0.42,0.41l0.27,2.03l-2.32,1.34l-0.73,1.47l-1.68,-0.36l-0.37,0.11l-1.48,1.5l-1.13,2.23l-0.65,0.89l-0.26,2.02l2.04,2.91l-0.89,1.46l-1.0,-0.01l-2.56,0.49l-3.15,-2.93l-1.99,-0.73l-1.61,-1.01l-1.76,-0.23l-0.27,-1.86l-0.65,-0.86l0.89,-2.91l-0.19,-0.47l-0.91,-0.33l-0.73,0.31l-1.0,0.88l-0.65,1.57l-1.29,0.64l-2.28,0.26l-2.49,-0.26l-0.25,-0.23l0.63,-0.96l0.11,-0.73l-0.73,-1.1l0.42,-1.16l-0.09,-0.82l-1.77,-1.33l-1.44,-0.33l-2.31,-0.2l-0.79,0.17l-0.45,0.42Z", "name": "Belgium"}, "FR": {"path": "M467.41,568.7l0.77,-0.77l0.95,-1.92l1.23,-0.85l3.09,-0.88l1.24,-1.13l0.62,0.05l1.09,0.51l0.48,-0.04l0.35,-0.3l0.45,-1.04l-0.18,-0.96l0.1,-2.01l0.33,-0.92l0.26,-0.03l0.39,0.4l0.24,2.71l-0.35,2.37l0.28,0.9l0.7,0.99l0.4,6.29l-0.06,0.38l-2.01,3.28l-0.12,3.28l-0.24,0.74l-0.6,0.88l-1.03,2.66l-0.66,0.88l-3.62,-1.94l-0.93,-0.91l0.77,-0.94l0.22,-0.73l-0.25,-0.45l-2.03,-0.85l0.51,-1.36l-0.22,-1.18l-0.41,-0.29l-1.25,-0.03l1.06,-1.23l0.08,-1.13l-0.23,-0.35l-0.75,-0.34l-0.61,-0.58l-0.2,-0.63l0.36,-0.41l0.84,-0.38l0.16,-0.59l-0.67,-0.97l-0.55,-0.18ZM313.21,482.01l0.65,-0.84l-0.12,-0.59l-0.73,-0.41l-2.57,0.36l-1.17,-0.3l-1.49,-1.3l-1.38,0.14l-0.87,-0.45l-1.52,-0.0l-0.86,-0.67l-5.41,-1.47l-2.3,-0.18l-2.17,0.65l-0.93,-0.18l-0.72,-0.8l-0.92,-1.74l-2.86,-1.03l0.2,-0.24l1.5,-0.19l1.83,-0.56l0.83,-0.83l-0.09,-0.62l-1.43,-0.83l-1.1,-0.24l-0.48,-0.52l1.77,0.19l2.26,-0.18l0.24,-0.69l-0.82,-0.75l-1.49,-0.46l-4.19,0.09l-0.42,-1.11l0.47,-1.3l2.39,-1.3l6.29,-1.5l2.69,0.22l2.0,-0.28l2.39,-0.99l1.02,-0.82l3.06,-0.46l2.9,0.82l2.77,3.22l1.41,1.17l0.45,0.04l3.24,-1.89l4.69,0.05l0.91,0.97l0.66,-0.11l0.39,-0.87l0.65,-0.76l1.04,1.03l5.25,-0.19l0.91,-0.2l0.3,-0.33l-0.2,-0.4l-1.32,-0.73l-1.04,-1.7l-0.24,-6.84l-1.52,-2.15l-1.65,-3.07l-0.74,-1.78l0.1,-1.05l3.43,0.27l2.91,-0.67l1.05,0.35l-0.06,1.26l0.44,1.82l1.34,2.03l0.33,0.16l2.38,-0.09l2.65,0.59l3.28,0.09l5.0,1.0l2.17,-0.63l1.94,-1.22l3.74,-0.81l0.55,-0.6l-0.36,-0.63l-2.1,0.17l-1.75,-0.69l-0.18,-0.57l0.94,-2.27l5.65,-2.74l4.18,-0.84l4.36,-1.56l2.29,-1.65l1.52,-2.13l0.98,-0.76l0.11,-0.58l-0.47,-0.63l0.37,-7.74l0.38,-1.32l0.77,-1.06l1.22,-0.85l1.89,-0.95l7.18,-1.35l0.7,-0.34l0.89,1.98l-0.23,0.88l0.24,0.64l1.05,1.27l1.31,1.16l1.4,0.75l1.2,-0.31l1.32,-0.69l0.9,-0.18l0.82,0.69l0.65,1.1l0.2,1.26l0.46,1.27l0.79,0.51l2.14,0.14l1.48,0.36l0.25,0.21l0.52,2.23l0.39,0.51l0.52,0.06l0.75,-0.61l0.36,-0.04l2.15,0.19l1.16,0.24l1.51,1.13l-0.49,1.57l0.74,1.06l-0.07,0.45l-0.63,0.95l-0.03,0.44l0.24,0.46l0.49,0.31l2.77,0.32l2.61,-0.31l1.51,-0.75l0.83,-1.78l1.17,-0.81l0.11,0.06l-0.86,2.81l0.08,0.38l0.61,0.7l0.35,2.16l0.4,0.31l1.75,0.15l1.55,0.99l2.02,0.76l3.1,2.91l0.72,0.08l1.01,-0.31l2.15,-0.17l0.56,0.58l1.0,0.26l0.85,0.63l0.7,0.16l1.01,-0.16l0.74,-0.57l0.67,-0.2l0.66,0.06l1.34,0.7l0.67,-0.05l0.86,0.22l0.9,0.74l0.57,1.33l2.4,2.92l0.83,0.07l1.01,-0.82l0.33,-0.06l1.18,0.37l0.34,0.99l0.66,0.25l0.87,-0.21l1.22,0.23l3.14,-0.67l0.9,1.02l1.32,0.54l5.32,0.9l1.54,0.57l0.05,1.07l-4.07,4.38l-0.61,1.63l-0.4,2.35l-0.78,2.19l-1.23,2.2l-0.44,1.6l0.31,1.21l-0.19,1.55l-0.73,2.24l-0.14,1.82l0.62,1.44l-1.04,0.58l-0.92,1.44l-0.88,0.32l-1.65,0.02l-0.4,-0.65l-0.67,-0.35l-1.31,0.06l-1.26,0.7l-0.92,1.02l-0.06,0.45l0.57,0.78l0.73,0.14l-0.57,0.84l-3.55,3.55l-0.31,0.55l-2.89,1.4l-0.3,0.56l-0.35,2.71l-3.37,2.5l-1.41,3.23l0.11,0.36l0.71,0.7l-0.3,1.32l-0.67,0.58l-0.84,0.37l-0.24,0.37l0.02,1.08l0.28,0.37l0.63,0.17l1.24,-0.12l1.53,-0.78l1.1,-1.08l0.06,-0.49l-0.55,-0.89l1.09,-0.96l1.33,-0.57l1.91,-0.11l2.25,0.34l0.17,1.45l0.39,0.63l-0.55,1.68l0.07,0.37l1.71,1.93l0.78,0.61l0.73,1.16l-0.84,0.75l-1.8,0.89l-0.41,0.81l0.03,0.94l0.36,0.71l0.96,0.63l1.82,2.88l1.7,1.48l-0.43,0.65l-0.47,1.66l-1.22,0.37l-1.74,1.24l-1.95,-0.12l-1.05,0.48l-0.22,0.4l0.1,0.84l0.84,0.96l0.72,1.77l0.97,0.7l2.2,0.58l0.6,1.76l-0.88,0.55l-1.6,2.79l0.02,0.38l0.6,1.15l-0.2,0.75l0.43,1.08l1.01,1.0l4.78,2.37l0.96,0.2l3.04,-0.67l0.22,0.03l0.38,0.96l-1.06,1.72l-1.48,1.7l0.06,1.58l-1.05,-0.07l-0.48,0.65l-2.48,1.14l-4.33,3.67l-1.97,1.05l-0.55,0.79l-0.41,1.18l-1.06,0.92l-0.94,0.45l-2.59,0.52l-2.4Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
$.fn.vectorMap('addMap', 'usa',{"insets": [{"width": 220, "top": 440, "height": 146.9158157558812, "bbox": [{"y": -8441281.712315228, "x": -5263934.893342895}, {"y": -6227992.545028123, "x": -1949631.2950683108}], "left": 0}, {"width": 80, "top": 460, "height": 129.05725678001465, "bbox": [{"y": -4207380.690946597, "x": -5958501.652314129}, {"y": -3658201.4570359783, "x": -5618076.48127754}], "left": 245}, {"width": 900.0, "top": 0, "height": 550.2150229714246, "bbox": [{"y": -5490839.2352678, "x": -2029243.6460439637}, {"y": -2690044.485299302, "x": 2552083.9617675776}], "left": 0}], "paths": {"VA": {"path": "M682.42,290.04l1.61,-0.93l1.65,-0.48l1.12,-0.95l3.57,-1.69l0.74,-2.33l0.82,-0.19l2.32,-1.54l0.05,-1.81l2.04,-1.86l-0.13,-1.58l0.26,-0.42l5.0,-4.09l4.76,-6.0l0.09,0.63l0.96,0.54l0.33,1.37l1.32,0.74l0.71,0.81l1.46,0.09l0.79,0.65l1.3,0.48l1.41,-0.09l0.79,-0.41l0.76,-1.22l1.17,-0.57l0.53,-1.38l2.72,1.49l1.42,-1.1l2.25,-0.99l0.76,0.06l1.08,-0.97l0.33,-0.82l-0.48,-0.96l0.23,-0.42l1.9,0.58l3.26,-2.62l0.3,-0.1l0.51,0.73l0.66,-0.07l2.38,-2.34l0.17,-0.85l-0.49,-0.51l0.99,-1.12l0.1,-0.6l-0.28,-0.51l-1.0,-0.46l0.71,-3.03l2.6,-4.8l0.55,-2.15l-0.01,-1.91l1.61,-2.55l-0.22,-0.94l0.24,-0.84l0.5,-0.48l0.39,-1.7l-0.0,-3.18l1.23,0.19l1.18,1.73l3.8,0.43l0.59,-0.28l1.05,-2.52l0.2,-2.36l0.71,-1.05l-0.04,-1.61l0.76,-2.31l1.78,0.75l0.65,-0.17l1.3,-3.3l0.57,0.05l0.59,-0.39l0.52,-1.2l0.81,-0.68l0.44,-1.8l1.38,-2.43l-0.35,-2.57l0.54,-1.76l-0.3,-2.01l9.18,4.58l0.59,-0.29l0.63,-4.0l2.6,-0.07l0.63,0.57l1.05,0.23l-0.5,1.74l0.6,0.88l1.61,0.85l2.52,-0.04l1.03,1.18l1.64,0.12l1.94,1.52l0.57,2.53l-0.94,0.78l-0.45,0.02l-0.3,0.43l0.13,0.71l-0.61,-0.05l-0.49,0.59l-0.37,2.5l0.07,2.29l-0.43,0.25l0.01,0.6l1.05,0.77l-0.36,0.14l-0.17,0.6l0.44,0.3l1.64,-0.08l1.38,-0.61l1.77,-1.61l0.39,0.58l-0.58,0.35l0.02,0.58l1.9,1.07l0.64,1.08l1.69,0.35l1.37,-0.11l0.95,0.49l0.82,-0.65l1.05,-0.08l0.33,0.56l1.26,0.63l-0.1,0.55l0.36,0.55l0.94,-0.23l0.41,0.56l3.96,0.88l0.25,1.12l-0.85,-0.41l-0.57,0.44l0.89,1.74l-0.35,0.57l0.62,0.78l-0.44,0.89l0.24,0.59l-1.36,-0.36l-0.59,-0.72l-0.67,0.18l-0.1,0.43l-2.44,-2.3l-0.56,0.05l-0.38,-0.56l-0.52,0.32l-1.36,-1.51l-1.23,-0.43l-2.86,-2.72l-1.34,-0.12l-1.11,-0.81l-1.17,0.05l-0.39,0.52l0.47,0.71l1.1,-0.01l0.63,0.68l1.33,0.07l0.6,0.43l0.62,1.4l1.46,1.11l1.13,0.34l1.53,1.8l2.55,0.94l1.4,1.89l2.14,-0.02l0.56,0.41l0.72,0.06l-0.61,0.7l0.3,0.49l2.03,0.34l0.26,0.72l0.55,0.1l0.13,1.67l-1.0,-0.75l-0.39,0.21l-1.13,-1.0l-0.58,0.29l0.1,0.82l-0.31,0.68l0.7,0.7l-0.18,0.6l1.12,0.32l-0.86,0.44l-2.12,-0.73l-1.39,-1.38l-0.83,-0.32l-2.23,-1.87l-0.58,0.11l-0.22,0.53l0.26,0.81l0.64,0.21l3.81,3.15l2.69,1.12l1.28,-0.33l0.45,1.07l1.27,0.26l-0.44,0.67l0.3,0.56l0.93,-0.19l0.0,1.24l-0.92,0.41l-0.57,0.73l-0.71,-0.93l-3.2,-1.58l-0.29,-1.16l-0.59,-0.59l-0.87,-0.11l-1.2,0.67l-1.71,-0.44l-0.36,-1.15l-0.71,-0.05l-0.05,1.32l-0.33,0.41l-1.43,-1.32l-0.51,0.09l-0.48,0.57l-0.65,-0.4l-0.99,0.45l-2.23,-0.1l-0.37,0.94l0.34,0.46l1.9,0.22l1.4,-0.31l0.85,0.24l0.56,-0.69l0.63,0.88l1.34,0.43l1.95,-0.31l1.5,0.71l0.67,-0.63l0.94,2.47l3.16,1.23l0.37,0.91l-0.57,1.03l0.56,0.44l1.72,-1.32l0.88,-0.02l0.83,0.65l0.8,-0.26l-0.61,-0.9l-0.2,-1.17l3.78,0.08l1.13,-0.44l1.89,3.23l-0.46,0.71l0.65,3.09l-1.19,-0.58l-0.02,0.88l-30.95,7.83l-37.19,8.41l-19.52,3.35l-7.08,0.85l-0.46,-0.26l-4.24,0.64l-0.82,0.62l-28.2,5.01ZM781.15,223.32l0.14,0.09l-0.06,0.07l-0.01,-0.03l-0.07,-0.12ZM808.05,244.59l0.53,-1.14l-0.26,-0.54l-0.36,-0.08l0.58,-0.98l-0.39,-0.71l-0.03,-0.49l0.44,-0.35l-0.17,-0.73l0.62,-0.3l0.23,-0.6l0.14,-2.33l1.01,-0.39l-0.12,-0.9l0.48,-0.14l-0.26,-1.53l-0.79,-0.4l0.87,-0.57l0.1,-1.03l2.69,-1.11l0.36,2.48l-1.08,4.2l-0.22,2.38l0.33,1.09l-0.34,0.97l-0.6,-0.79l-0.81,0.15l-0.39,0.95l0.27,0.37l-0.65,0.46l-0.3,0.85l0.17,1.05l-0.31,1.46l0.38,2.47l-0.6,0.6l0.07,1.33l-1.37,-1.9l0.23,-0.94l-0.33,-1.57l0.28,-0.97l-0.38,-0.3Z", "name": "Virginia"}, "PA": {"path": "M716.46,159.99l0.63,-0.19l4.3,-3.73l1.13,5.2l0.48,0.31l34.84,-7.93l34.28,-8.64l1.42,0.58l0.71,1.39l0.64,0.13l0.77,-0.33l1.24,0.59l0.14,0.85l0.81,0.41l-0.16,0.58l0.89,2.69l1.9,2.07l2.12,0.75l2.21,-0.2l0.72,0.79l-0.89,0.87l-0.73,1.49l-0.17,2.25l-1.41,3.35l-1.37,1.58l0.04,0.79l1.79,1.72l-0.31,1.65l-0.84,0.43l-0.22,0.66l0.14,1.48l1.04,2.87l0.52,0.25l1.2,-0.18l1.18,2.39l0.95,0.58l0.66,-0.26l0.6,0.9l4.23,2.75l0.12,0.41l-1.29,0.93l-3.71,4.22l-0.23,0.76l0.17,0.9l-1.36,1.13l-0.84,0.15l-1.33,1.08l-0.33,0.66l-1.72,-0.12l-2.03,0.84l-1.15,1.37l-0.41,1.39l-37.23,9.21l-39.1,8.66l-10.03,-48.21l1.92,-1.22l3.08,-3.04Z", "name": "Pennsylvania"}, "TN": {"path": "M571.72,341.09l0.86,-0.84l0.29,-1.37l1.0,0.04l0.65,-0.79l-0.99,-4.89l1.41,-1.93l0.06,-1.32l1.18,-0.46l0.36,-0.48l-0.63,-1.31l0.53,-0.65l0.05,-0.56l-0.89,-1.33l2.55,-1.57l1.09,-1.13l-0.14,-0.84l-0.85,-0.53l0.14,-0.19l0.34,-0.16l0.85,0.37l0.46,-0.33l-0.27,-1.31l-0.85,-0.9l0.06,-0.71l0.51,-1.43l1.0,-1.11l-1.35,-2.06l1.37,-0.21l0.61,-0.55l-0.13,-0.64l-1.17,-0.82l0.82,-0.15l0.58,-0.54l0.13,-0.69l-0.59,-1.38l0.02,-0.36l0.37,0.53l0.47,0.08l0.58,-0.29l0.6,-0.86l23.67,-2.81l0.35,-0.41l-0.1,-1.35l-0.84,-2.39l2.98Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
$.fn.vectorMap('addMap', 'world',{"insets": [{"width": 900.0, "top": 0, "height": 440.7063107441331, "bbox": [{"y": -12671671.123330014, "x": -20004297.151525836}, {"y": 6930392.02513512, "x": 20026572.394749384}], "left": 0}], "paths": {"BD": {"path": "M652.71,228.85l-0.04,1.38l-0.46,-0.21l-0.42,0.3l0.05,0.65l-0.17,-1.37l-0.48,-1.26l-1.08,-1.6l-0.23,-0.13l-2.31,-0.11l-0.31,0.36l0.21,0.98l-0.6,1.11l-0.8,-0.4l-0.37,0.09l-0.23,0.3l-0.54,-0.21l-0.78,-0.19l-0.38,-2.04l-0.83,-1.89l0.4,-1.5l-0.16,-0.35l-1.24,-0.57l0.36,-0.62l1.5,-0.95l0.02,-0.49l-1.62,-1.26l0.64,-1.31l1.7,1.0l0.12,0.04l0.96,0.11l0.19,1.62l0.25,0.26l2.38,0.37l2.32,-0.04l1.06,0.33l-0.92,1.79l-0.97,0.13l-0.23,0.16l-0.77,1.51l0.05,0.35l1.37,1.37l0.5,-0.14l0.35,-1.46l0.24,-0.0l1.24,3.92Z", "name": "Bangladesh"}, "BE": {"path": "M429.28,143.95l1.76,0.25l0.13,-0.01l2.16,-0.64l1.46,1.34l1.26,0.71l-0.23,1.8l-0.44,0.08l-0.24,0.25l-0.2,1.36l-1.8,-1.22l-0.23,-0.05l-1.14,0.23l-1.62,-1.43l-1.15,-1.31l-0.21,-0.1l-0.95,-0.04l-0.21,-0.68l1.66,-0.54Z", "name": "Belgium"}, "BF": {"path": "M413.48,260.21l-1.22,-0.46l-0.13,-0.02l-1.17,0.1l-0.15,0.06l-0.73,0.53l-0.87,-0.41l-0.39,-0.75l-0.13,-0.13l-0.98,-0.48l-0.14,-1.2l0.63,-0.99l0.05,-0.18l-0.05,-0.73l1.9,-2.01l0.08,-0.14l0.35,-1.65l0.49,-0.44l1.05,0.3l0.21,-0.02l1.05,-0.52l0.13,-0.13l0.3,-0.58l1.87,-1.1l0.11,-0.1l0.43,-0.72l2.23,-1.01l1.21,-0.32l0.51,0.4l0.19,0.06l1.25,-0.01l-0.14,0.89l0.01,0.13l0.34,1.16l0.06,0.11l1.35,1.59l0.07,1.13l0.24,0.28l2.64,0.53l-0.05,1.39l-0.42,0.59l-1.11,0.21l-0.22,0.17l-0.46,0.99l-0.69,0.23l-2.12,-0.05l-1.14,-0.2l-0.19,0.03l-0.72,0.36l-1.07,-0.17l-4.35,0.12l-0.29,0.29l-0.06,1.44l0.25,1.45Z", "name": "Burkina Faso"}, "BG": {"path": "M477.63,166.84l0.51,0.9l0.33,0.14l0.9,-0.21l1.91,0.47l3.68,0.16l0.17,-0.05l1.2,-0.75l2.78,-0.67l1.72,1.05l1.02,0.24l-0.97,0.97l-0.91,2.17l0.0,0.24l0.56,1.19l-1.58,-0.3l-0.16,0.01l-2.55,0.95l-0.2,0.28l-0.02,1.23l-1.92,0.24l-1.68,-0.99l-0.27,-0.02l-1.94,0.8l-1.52,-0.07l-0.15,-1.72l-0.12,-0.21l-0.99,-0.76l0.18,-0.18l0.02,-0.39l-0.17,-0.22l0.33,-0.75l0.91,-0.91l0.01,-0.42l-1.16,-1.25l-0.18,-0.89l0.24,-0.27Z", "name": "Bulgaria"}, "BA": {"path": "M468.39,164.66l0.16,0.04l0.43,-0.0l-0.43,0.93l0.06,0.34l1.08,1.06l-0.28,1.09l-0.5,0.13l-0.47,0.28l-0.86,0.74l-0.1,0.16l-0.28,1.29l-1.81,-0.94l-0.9,-1.22l-1.0,-0.73l-1.1,-1.1l-0.55,-0.96l-1.11,-1.3l0.3,-0.75l0.59,0.46l0.42,-0.04l0.46,-0.54l1.0,-0.06l2.11,0.5l1.72,-0.03l1.06,0.64Z", "name": "Bosnia and Herzegovina"}, "BN": {"path": "M707.34,273.57l0.76,-0.72l1.59,-1.03l-0.18,1.93l-0.9,-0.06l-0.28,0.14l-0.31,0.51l-0.68,-0.78Z", "name": "Brunei"}, "BO": {"path": "M263.83,340.79l-0.23,-0.12l-2.86,-0.11l-0.28,0.17l-0.77,1.67l-1.17,-1.51l-0.18,-0.11l-3.28,-0.64l-0.28,0.1l-2.02,2.3l-1.43,0.29l-0.91,-3.35l-1.31,-2.88l0.75,-2.41l-0.09,-0.32l-1.23,-1.03l-0.31,-1.76l-0.05,-0.12l-1.12,-1.6l1.49,-2.62l0.01,-0.28l-1.0,-2.0l0.48,-0.72l0.02,-0.29l-0.37,-0.78l0.87,-1.13l0.06,-0.18l0.05,-2.17l0.12,-1.71l0.5,-0.8l0.01,-0.3l-1.9,-3.58l1.3,0.15l1.34,-0.05l0.23,-0.12l0.51,-0.7l2.12,-0.99l1.31,-0.93l2.81,-0.37l-0.21,1.51l0.01,0.13l0.29,0.91l-0.19,1.64l0.11,0.27l2.72,2.27l0.15,0.07l2.71,0.41l0.92,0.88l0.12,0.07l1.64,0.49l1.0,0.71l0.18,0.06l1.5,-0.02l1.24,0.64l0.1,1.31l0.05,0.14l0.44,0.68l0.02,0.73l-0.44,0.03l-0.27,0.39l0.96,2.99l0.28,0.21l4.43,0.1l-0.28,1.12l0.0,0.15l0.27,1.02l0.15,0.19l1.27,0.67l0.52,1.42l-0.42,1.91l-0.66,1.1l-0.04,0.2l0.21,1.3l-0.19,0.13l-0.01,-0.27l-0.15,-0.24l-2.33,-1.33l-0.14,-0.04l-2.38,-0.03l-4.36,0.76l-0.21,0.16l-1.2,2.29l-0.03,0.13l-0.06,1.37l-0.79,2.53l-0.05,-0.08Z", "name": "Bolivia"}, "JP": {"path": "M781.17,166.78l1.8,0.67l0.28,-0.04l1.38,-1.01l0.43,2.67l-3.44,0.77l-0.18,0.12l-2.04,2.79l-3.71,-1.94l-0.42,0.15l-1.29,3.11l-2.32,0.04l-0.3,-2.63l1.12,-2.1l2.51,-0.16l0.28,-0.25l0.73,-4.22l0.58,-1.9l2.59,2.84l2.0,1.1ZM773.66,187.36l-0.92,2.24l-0.01,0.2l0.4,1.3l-1.18,1.81l-3.06,1.28l-4.35,0.17l-0.19,0.08l-3.4,3.06l-1.36,-0.87l-0.1,-1.95l-0.34,-0.28l-4.35,0.62l-2.99,1.33l-2.87,0.05l-0.28,0.2l0.09,0.33l2.37,1.93l-1.57,4.44l-1.35,0.97l-0.9,-0.79l0.57,-2.32l-0.15,-0.34l-1.5,-0.77l-0.81,-1.53l2.04,-0.75l0.14,-0.1l1.28,-1.72l2.47,-1.43l1.84,-1.92l4.83,-0.82l2.62,0.57l0.33,-0.16l2.45,-4.77l1.38,1.14l0.38,0.0l5.1,-4.02l0.09,-0.11l1.57,-3.57l0.02,-0.16l-0.42,-3.22l0.94,-1.67l2.27,-0.47l1.26,3.82l-0.07,2.23l-2.26,2.86l-0.06,0.19l0.04,2.93ZM757.85,196.18l0.22,0.66l-1.11,1.33l-0.8,-0.7l-0.33,-0.04l-1.28,0.65l-0.14,0.15l-0.54,1.34l-1.17,-0.57l0.02,-1.03l1.2,-1.45l1.24,0.28l0.29,-0.1l0.9,-1.03l1.51,0.5Z", "name": "Japan"}, "BI": {"path": "M494.7,295.83l-0.14,-2.71l-0.04,-0.13l-0.34,-0.62l0.93,0.12l0.3,-0.16l0.67,-1.25l0.9,0.11l0.11,0.76l0.08,0.16l0.46,0.48l0.02,0.56l-0.55,0.48l-0.96,1.29l-0.82,0.82l-0.61,0.07Z", "name": "Burundi"}, "BJ": {"path": "M427.4,268.94l-1.58,0.22l-0.52,-1.45l0.11,-5.73l-0.08,-0.21l-0.43,-0.44l-0.09,-1.13l-0.09,-0.19l-1.52,-1.52l0.24,-1.01l0.7,-0.23l0.18,-0.16l0.45,-0.97l1.07,-0.21l0.19,-0.12l0.53,-0.73l0.73,-0.65l0.68,-0.0l1.69,1.3l-0.08,0.67l0.02,0.14l0.52,1.38l-0.44,0.9l-0.01,0.24l0.2,0.52l-1.1,1.42l-0.76,0.76Line truncated
|
||||
@@ -1,5 +1,5 @@
|
||||
labjs = labjs.script("common/lib/jquery.flot.js")
|
||||
.script("common/lib/jquery.flot.time.js")
|
||||
labjs = labjs.script("common/lib/panels/jquery.flot.js")
|
||||
.script("common/lib/panels/jquery.flot.time.js")
|
||||
|
||||
angular.module('kibana.histogram', [])
|
||||
.directive('histogram', function() {
|
||||
|
||||
+26
-19
@@ -1,5 +1,4 @@
|
||||
labjs = labjs.script("common/lib/jquery.jvectormap.min.js")
|
||||
.script("common/lib/jquery-jvectormap-world-mill-en.js")
|
||||
labjs = labjs.script("common/lib/panels/jquery.jvectormap.min.js");
|
||||
|
||||
angular.module('kibana.map', [])
|
||||
.directive('map', function() {
|
||||
@@ -10,6 +9,7 @@ angular.module('kibana.map', [])
|
||||
// Specify defaults for ALL directives
|
||||
var _d = {
|
||||
queries : ["*"],
|
||||
map : "world",
|
||||
interval: secondsToHms(calculate_interval(scope.from,scope.to,40,0)/1000),
|
||||
colors : ["#BF3030","#1D7373","#86B32D","#A98A21","#411F73"],
|
||||
show : ['bars'],
|
||||
@@ -68,7 +68,7 @@ angular.module('kibana.map', [])
|
||||
|
||||
// Then the insert into facet and make the request
|
||||
var results = request
|
||||
.facet(ejs.TermsFacet('worldmap')
|
||||
.facet(ejs.TermsFacet('map')
|
||||
.field(params.field)
|
||||
.size(params['size'])
|
||||
.exclude(params.exclude)
|
||||
@@ -80,7 +80,7 @@ angular.module('kibana.map', [])
|
||||
results.then(function(results) {
|
||||
scope.hits = results.hits.total;
|
||||
scope.data = {};
|
||||
_.each(results.facets.worldmap.terms, function(v) {
|
||||
_.each(results.facets.map.terms, function(v) {
|
||||
scope.data[v.term.toUpperCase()] = v.count;
|
||||
});
|
||||
});
|
||||
@@ -91,22 +91,29 @@ angular.module('kibana.map', [])
|
||||
// Parse our params object
|
||||
var params = scope.params;
|
||||
|
||||
// Populate element
|
||||
$('.jvectormap-label,.jvectormap-zoomin,.jvectormap-zoomout').remove();
|
||||
elem.text('');
|
||||
elem.vectorMap({
|
||||
map: 'world_mill_en',
|
||||
regionStyle: {initial: {fill: '#ddd'}},
|
||||
zoomOnScroll: false,
|
||||
backgroundColor: '#fff',
|
||||
series: {
|
||||
regions: [{
|
||||
values: scope.data,
|
||||
scale: ['#C8EEFF', '#0071A4'],
|
||||
normalizeFunction: 'polynomial'
|
||||
}]
|
||||
}
|
||||
});
|
||||
$('.jvectormap-label,.jvectormap-zoomin,.jvectormap-zoomout').remove();
|
||||
|
||||
elem.append("<div class='jvectormap-label'>Loading Map</div>");
|
||||
|
||||
loadmap = $LAB.script("common/lib/panels/map."+params.map+".js")
|
||||
|
||||
// Populate element. Note that jvectormap appends, does not replace.
|
||||
loadmap.wait(function(){
|
||||
elem.vectorMap({
|
||||
map: params.map,
|
||||
regionStyle: {initial: {fill: '#ddd'}},
|
||||
zoomOnScroll: false,
|
||||
backgroundColor: '#fff',
|
||||
series: {
|
||||
regions: [{
|
||||
values: scope.data,
|
||||
scale: ['#C8EEFF', '#0071A4'],
|
||||
normalizeFunction: 'polynomial'
|
||||
}]
|
||||
}
|
||||
});
|
||||
})
|
||||
//elem.show();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
labjs = labjs.script("common/lib/jquery.flot.js")
|
||||
.script("common/lib/jquery.flot.pie.js")
|
||||
labjs = labjs.script("common/lib/panels/jquery.flot.js")
|
||||
.script("common/lib/panels/jquery.flot.pie.js")
|
||||
|
||||
angular.module('kibana.piequery', [])
|
||||
.directive('piequery', function() {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
labjs = labjs.script("common/lib/jquery.flot.js")
|
||||
.script("common/lib/jquery.flot.pie.js")
|
||||
labjs = labjs.script("common/lib/panels/jquery.flot.js")
|
||||
.script("common/lib/panels/jquery.flot.pie.js")
|
||||
|
||||
angular.module('kibana.pieterms', [])
|
||||
.directive('pieterms', function() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
labjs = labjs.script("common/lib/jquery.flot.js")
|
||||
.script("common/lib/jquery.flot.time.js")
|
||||
.script("common/lib/jquery.flot.stack.js")
|
||||
labjs = labjs.script("common/lib/panels/jquery.flot.js")
|
||||
.script("common/lib/panels/jquery.flot.time.js")
|
||||
.script("common/lib/panels/jquery.flot.stack.js")
|
||||
|
||||
angular.module('kibana.stackedquery', [])
|
||||
.directive('stackedquery', function() {
|
||||
|
||||
@@ -13,6 +13,7 @@ curl -XPUT http://localhost:9200/_template/shakespeare -d '
|
||||
"play_name" : {"type": "string", "index" : "not_analyzed" },
|
||||
"line_id" : { "type" : "integer", "index": "not_analyzed" },
|
||||
"speech_number" : { "type" : "integer", "index": "not_analyzed" },
|
||||
"state" : {"type": "string", "index" : "not_analyzed" },
|
||||
"country" : {"type": "string", "index" : "not_analyzed" }
|
||||
}
|
||||
}
|
||||
|
||||
+150
-251
@@ -2,6 +2,7 @@ require("./date.js")
|
||||
var rwc = require('random-weighted-choice');
|
||||
_ = require("./underscore.min.js")
|
||||
fs = require('fs')
|
||||
complete = 0;
|
||||
|
||||
fs.readFile('shakespeare.json', 'utf8', function (err,data) {
|
||||
i = 0;
|
||||
@@ -9,6 +10,8 @@ fs.readFile('shakespeare.json', 'utf8', function (err,data) {
|
||||
return console.log(err);
|
||||
}
|
||||
var obj = JSON.parse(data);
|
||||
var lines = obj.length
|
||||
console.error("Generating " + lines + " events");
|
||||
_.each(obj, function (o) {
|
||||
setTimeout(print_obj(o), 10000) //wait ten seconds before continuing
|
||||
});
|
||||
@@ -18,265 +21,161 @@ fs.readFile('shakespeare.json', 'utf8', function (err,data) {
|
||||
}
|
||||
|
||||
function print_obj(o) {
|
||||
var countries = get_countries();
|
||||
var randomnumber=Math.floor(Math.random()*28800000)
|
||||
var command = {index:{_index: "shakespeare", _type: "line", _id: i}};
|
||||
o['@timestamp'] = new Date((new Date()).getTime() -9000000 + randomnumber);
|
||||
o.geo = [getRandomInRange(-90, 90, 3),getRandomInRange(-180, 180, 3)]
|
||||
o.country = rwc(countries);
|
||||
o.country = get_country();
|
||||
if(o.country == 'US')
|
||||
o.state = get_state()
|
||||
console.log(JSON.stringify(command))
|
||||
console.log(JSON.stringify(o));
|
||||
var percent = Math.floor((i/lines)*100)
|
||||
if (percent%10 == 0 && percent > complete) {
|
||||
console.error(percent+"% complete")
|
||||
complete = percent;
|
||||
}
|
||||
i = i + 1;
|
||||
}
|
||||
|
||||
function get_countries() {
|
||||
return [{id:"CN",weight:1330044000},
|
||||
{id:"IN",weight:1173108018},
|
||||
{id:"US",weight:610232863},
|
||||
{id:"ID",weight:242968342},
|
||||
{id:"BR",weight:201103330},
|
||||
{id:"PK",weight:184404791},
|
||||
{id:"BD",weight:156118464},
|
||||
{id:"NG",weight:154000000},
|
||||
{id:"RU",weight:140702000},
|
||||
{id:"JP",weight:127288000},
|
||||
{id:"MX",weight:112468855},
|
||||
{id:"PH",weight:99900177},
|
||||
{id:"VN",weight:89571130},
|
||||
{id:"ET",weight:88013491},
|
||||
{id:"DE",weight:81802257},
|
||||
{id:"EG",weight:80471869},
|
||||
{id:"TR",weight:77804122},
|
||||
{id:"IR",weight:76923300},
|
||||
{id:"CD",weight:70916439},
|
||||
{id:"TH",weight:67089500},
|
||||
{id:"FR",weight:64768389},
|
||||
{id:"GB",weight:62348447},
|
||||
{id:"IT",weight:60340328},
|
||||
{id:"MM",weight:53414374},
|
||||
{id:"ZA",weight:49000000},
|
||||
{id:"KR",weight:48422644},
|
||||
{id:"ES",weight:46505963},
|
||||
{id:"UA",weight:45415596},
|
||||
{id:"CO",weight:44205293},
|
||||
{id:"TZ",weight:41892895},
|
||||
{id:"AR",weight:41343201},
|
||||
{id:"KE",weight:40046566},
|
||||
{id:"PL",weight:38500000},
|
||||
{id:"SD",weight:35000000},
|
||||
{id:"DZ",weight:34586184},
|
||||
{id:"CA",weight:33679000},
|
||||
{id:"UG",weight:33398682},
|
||||
{id:"MA",weight:31627428},
|
||||
{id:"PE",weight:29907003},
|
||||
{id:"IQ",weight:29671605},
|
||||
{id:"AF",weight:29121286},
|
||||
{id:"NP",weight:28951852},
|
||||
{id:"MY",weight:28274729},
|
||||
{id:"UZ",weight:27865738},
|
||||
{id:"VE",weight:27223228},
|
||||
{id:"SA",weight:25731776},
|
||||
{id:"GH",weight:24339838},
|
||||
{id:"YE",weight:23495361},
|
||||
{id:"KP",weight:22912177},
|
||||
{id:"TW",weight:22894384},
|
||||
{id:"SY",weight:22198110},
|
||||
{id:"MZ",weight:22061451},
|
||||
{id:"RO",weight:21959278},
|
||||
{id:"AU",weight:21515754},
|
||||
{id:"LK",weight:21513990},
|
||||
{id:"MG",weight:21281844},
|
||||
{id:"CI",weight:21058798},
|
||||
{id:"CM",weight:19294149},
|
||||
{id:"CL",weight:16746491},
|
||||
{id:"NL",weight:16645000},
|
||||
{id:"BF",weight:16241811},
|
||||
{id:"NE",weight:15878271},
|
||||
{id:"MW",weight:15447500},
|
||||
{id:"KZ",weight:15340000},
|
||||
{id:"EC",weight:14790608},
|
||||
{id:"KH",weight:14453680},
|
||||
{id:"ML",weight:13796354},
|
||||
{id:"GT",weight:13550440},
|
||||
{id:"ZM",weight:13460305},
|
||||
{id:"AO",weight:13068161},
|
||||
{id:"SN",weight:12323252},
|
||||
{id:"ZW",weight:11651858},
|
||||
{id:"CU",weight:11423000},
|
||||
{id:"RW",weight:11055976},
|
||||
{id:"GR",weight:11000000},
|
||||
{id:"CS",weight:10829175},
|
||||
{id:"PT",weight:10676000},
|
||||
{id:"TN",weight:10589025},
|
||||
{id:"TD",weight:10543464},
|
||||
{id:"CZ",weight:10476000},
|
||||
{id:"BE",weight:10403000},
|
||||
{id:"GN",weight:10324025},
|
||||
{id:"SO",weight:10112453},
|
||||
{id:"BO",weight:9947418},
|
||||
{id:"HU",weight:9930000},
|
||||
{id:"BI",weight:9863117},
|
||||
{id:"DO",weight:9823821},
|
||||
{id:"BY",weight:9685000},
|
||||
{id:"HT",weight:9648924},
|
||||
{id:"BJ",weight:9056010},
|
||||
{id:"SE",weight:9045000},
|
||||
{id:"AZ",weight:8303512},
|
||||
{id:"SS",weight:8260490},
|
||||
{id:"AT",weight:8205000},
|
||||
{id:"HN",weight:7989415},
|
||||
{id:"CH",weight:7581000},
|
||||
{id:"TJ",weight:7487489},
|
||||
{id:"IL",weight:7353985},
|
||||
{id:"RS",weight:7344847},
|
||||
{id:"BG",weight:7148785},
|
||||
{id:"HK",weight:6898686},
|
||||
{id:"TG",weight:6587239},
|
||||
{id:"LY",weight:6461454},
|
||||
{id:"JO",weight:6407085},
|
||||
{id:"PY",weight:6375830},
|
||||
{id:"LA",weight:6368162},
|
||||
{id:"PG",weight:6064515},
|
||||
{id:"SV",weight:6052064},
|
||||
{id:"NI",weight:5995928},
|
||||
{id:"ER",weight:5792984},
|
||||
{id:"KG",weight:5508626},
|
||||
{id:"DK",weight:5484000},
|
||||
{id:"SK",weight:5455000},
|
||||
{id:"SL",weight:5245695},
|
||||
{id:"FI",weight:5244000},
|
||||
{id:"NO",weight:5009150},
|
||||
{id:"AE",weight:4975593},
|
||||
{id:"TM",weight:4940916},
|
||||
{id:"CF",weight:4844927},
|
||||
{id:"SG",weight:4701069},
|
||||
{id:"GE",weight:4630000},
|
||||
{id:"IE",weight:4622917},
|
||||
{id:"BA",weight:4590000},
|
||||
{id:"CR",weight:4516220},
|
||||
{id:"HR",weight:4491000},
|
||||
{id:"MD",weight:4324000},
|
||||
{id:"NZ",weight:4252277},
|
||||
{id:"LB",weight:4125247},
|
||||
{id:"PR",weight:3916632},
|
||||
{id:"PS",weight:3800000},
|
||||
{id:"LR",weight:3685076},
|
||||
{id:"LT",weight:3565000},
|
||||
{id:"UY",weight:3477000},
|
||||
{id:"PA",weight:3410676},
|
||||
{id:"MR",weight:3205060},
|
||||
{id:"MN",weight:3086918},
|
||||
{id:"CG",weight:3039126},
|
||||
{id:"AL",weight:2986952},
|
||||
{id:"AM",weight:2968000},
|
||||
{id:"OM",weight:2967717},
|
||||
{id:"JM",weight:2847232},
|
||||
{id:"KW",weight:2789132},
|
||||
{id:"LV",weight:2217969},
|
||||
{id:"NA",weight:2128471},
|
||||
{id:"MK",weight:2061000},
|
||||
{id:"BW",weight:2029307},
|
||||
{id:"SI",weight:2007000},
|
||||
{id:"LS",weight:1919552},
|
||||
{id:"XK",weight:1800000},
|
||||
{id:"GM",weight:1593256},
|
||||
{id:"GW",weight:1565126},
|
||||
{id:"GA",weight:1545255},
|
||||
{id:"SZ",weight:1354051},
|
||||
{id:"MU",weight:1294104},
|
||||
{id:"EE",weight:1291170},
|
||||
{id:"TT",weight:1228691},
|
||||
{id:"TL",weight:1154625},
|
||||
{id:"CY",weight:1102677},
|
||||
{id:"GQ",weight:1014999},
|
||||
{id:"FJ",weight:875983},
|
||||
{id:"QA",weight:840926},
|
||||
{id:"RE",weight:776948},
|
||||
{id:"KM",weight:773407},
|
||||
{id:"GY",weight:748486},
|
||||
{id:"DJ",weight:740528},
|
||||
{id:"BH",weight:738004},
|
||||
{id:"BT",weight:699847},
|
||||
{id:"ME",weight:666730},
|
||||
{id:"SB",weight:559198},
|
||||
{id:"CV",weight:508659},
|
||||
{id:"LU",weight:497538},
|
||||
{id:"SR",weight:492829},
|
||||
{id:"MO",weight:449198},
|
||||
{id:"GP",weight:443000},
|
||||
{id:"MQ",weight:432900},
|
||||
{id:"MT",weight:403000},
|
||||
{id:"MV",weight:395650},
|
||||
{id:"BN",weight:395027},
|
||||
{id:"BZ",weight:314522},
|
||||
{id:"IS",weight:308910},
|
||||
{id:"BS",weight:301790},
|
||||
{id:"BB",weight:285653},
|
||||
{id:"EH",weight:273008},
|
||||
{id:"PF",weight:270485},
|
||||
{id:"VU",weight:221552},
|
||||
{id:"NC",weight:216494},
|
||||
{id:"GF",weight:195506},
|
||||
{id:"WS",weight:192001},
|
||||
{id:"ST",weight:175808},
|
||||
{id:"LC",weight:160922},
|
||||
{id:"GU",weight:159358},
|
||||
{id:"YT",weight:159042},
|
||||
{id:"CW",weight:141766},
|
||||
{id:"AN",weight:136197},
|
||||
{id:"TO",weight:122580},
|
||||
{id:"VI",weight:108708},
|
||||
{id:"GD",weight:107818},
|
||||
{id:"FM",weight:107708},
|
||||
{id:"VC",weight:104217},
|
||||
{id:"KI",weight:92533},
|
||||
{id:"JE",weight:90812},
|
||||
{id:"SC",weight:88340},
|
||||
{id:"AG",weight:86754},
|
||||
{id:"AD",weight:84000},
|
||||
{id:"IM",weight:75049},
|
||||
{id:"DM",weight:72813},
|
||||
{id:"AW",weight:71566},
|
||||
{id:"MH",weight:65859},
|
||||
{id:"BM",weight:65365},
|
||||
{id:"GG",weight:65228},
|
||||
{id:"AS",weight:57881},
|
||||
{id:"GL",weight:56375},
|
||||
{id:"MP",weight:53883},
|
||||
{id:"KN",weight:49898},
|
||||
{id:"FO",weight:48228},
|
||||
{id:"KY",weight:44270},
|
||||
{id:"SX",weight:37429},
|
||||
{id:"MF",weight:35925},
|
||||
{id:"LI",weight:35000},
|
||||
{id:"MC",weight:32965},
|
||||
{id:"SM",weight:31477},
|
||||
{id:"GI",weight:27884},
|
||||
{id:"AX",weight:26711},
|
||||
{id:"VG",weight:21730},
|
||||
{id:"CK",weight:21388},
|
||||
{id:"TC",weight:20556},
|
||||
{id:"PW",weight:19907},
|
||||
{id:"BQ",weight:18012},
|
||||
{id:"WF",weight:16025},
|
||||
{id:"AI",weight:13254},
|
||||
{id:"TV",weight:10472},
|
||||
{id:"NR",weight:10065},
|
||||
{id:"MS",weight:9341},
|
||||
{id:"BL",weight:8450},
|
||||
{id:"SH",weight:7460},
|
||||
{id:"PM",weight:7012},
|
||||
{id:"IO",weight:4000},
|
||||
{id:"FK",weight:2638},
|
||||
{id:"SJ",weight:2550},
|
||||
{id:"NU",weight:2166},
|
||||
{id:"NF",weight:1828},
|
||||
{id:"CX",weight:1500},
|
||||
{id:"TK",weight:1466},
|
||||
{id:"VA",weight:921},
|
||||
{id:"CC",weight:628},
|
||||
{id:"TF",weight:140},
|
||||
{id:"PN",weight:46},
|
||||
{id:"GS",weight:30}];
|
||||
function get_state() {
|
||||
var states = ['AL','AK','AZ','AR','CA','CO','CT','DE',
|
||||
'FL','GA','HI','ID','IL','IN','IA','KS',
|
||||
'KY','LA','ME','MD','MA','MI','MN','MS',
|
||||
'MO','MT','NE','NV','NH','NJ','NM','NY',
|
||||
'NC','ND','OH','OK','OR','PA','RI','SC',
|
||||
'SD','TN','TX','UT','VT','VA','WA','WV',
|
||||
'WI','WY'];
|
||||
return states[Math.floor(Math.random()*50)];
|
||||
}
|
||||
|
||||
function get_country() {
|
||||
var countries = [
|
||||
{id:"CN",weight:1330044000},{id:"IN",weight:1173108018},
|
||||
{id:"US",weight:610232863},{id:"ID",weight:242968342},
|
||||
{id:"BR",weight:201103330},{id:"PK",weight:184404791},
|
||||
{id:"BD",weight:156118464},{id:"NG",weight:154000000},
|
||||
{id:"RU",weight:140702000},{id:"JP",weight:127288000},
|
||||
{id:"MX",weight:112468855},{id:"PH",weight:99900177},
|
||||
{id:"VN",weight:89571130},{id:"ET",weight:88013491},
|
||||
{id:"DE",weight:81802257},{id:"EG",weight:80471869},
|
||||
{id:"TR",weight:77804122},{id:"IR",weight:76923300},
|
||||
{id:"CD",weight:70916439},{id:"TH",weight:67089500},
|
||||
{id:"FR",weight:64768389},{id:"GB",weight:62348447},
|
||||
{id:"IT",weight:60340328},{id:"MM",weight:53414374},
|
||||
{id:"ZA",weight:49000000},{id:"KR",weight:48422644},
|
||||
{id:"ES",weight:46505963},{id:"UA",weight:45415596},
|
||||
{id:"CO",weight:44205293},{id:"TZ",weight:41892895},
|
||||
{id:"AR",weight:41343201},{id:"KE",weight:40046566},
|
||||
{id:"PL",weight:38500000},{id:"SD",weight:35000000},
|
||||
{id:"DZ",weight:34586184},{id:"CA",weight:33679000},
|
||||
{id:"UG",weight:33398682},{id:"MA",weight:31627428},
|
||||
{id:"PE",weight:29907003},{id:"IQ",weight:29671605},
|
||||
{id:"AF",weight:29121286},{id:"NP",weight:28951852},
|
||||
{id:"MY",weight:28274729},{id:"UZ",weight:27865738},
|
||||
{id:"VE",weight:27223228},{id:"SA",weight:25731776},
|
||||
{id:"GH",weight:24339838},{id:"YE",weight:23495361},
|
||||
{id:"KP",weight:22912177},{id:"TW",weight:22894384},
|
||||
{id:"SY",weight:22198110},{id:"MZ",weight:22061451},
|
||||
{id:"RO",weight:21959278},{id:"AU",weight:21515754},
|
||||
{id:"LK",weight:21513990},{id:"MG",weight:21281844},
|
||||
{id:"CI",weight:21058798},{id:"CM",weight:19294149},
|
||||
{id:"CL",weight:16746491},{id:"NL",weight:16645000},
|
||||
{id:"BF",weight:16241811},{id:"NE",weight:15878271},
|
||||
{id:"MW",weight:15447500},{id:"KZ",weight:15340000},
|
||||
{id:"EC",weight:14790608},{id:"KH",weight:14453680},
|
||||
{id:"ML",weight:13796354},{id:"GT",weight:13550440},
|
||||
{id:"ZM",weight:13460305},{id:"AO",weight:13068161},
|
||||
{id:"SN",weight:12323252},{id:"ZW",weight:11651858},
|
||||
{id:"CU",weight:11423000},{id:"RW",weight:11055976},
|
||||
{id:"GR",weight:11000000},{id:"CS",weight:10829175},
|
||||
{id:"PT",weight:10676000},{id:"TN",weight:10589025},
|
||||
{id:"TD",weight:10543464},{id:"CZ",weight:10476000},
|
||||
{id:"BE",weight:10403000},{id:"GN",weight:10324025},
|
||||
{id:"SO",weight:10112453},{id:"BO",weight:9947418},
|
||||
{id:"HU",weight:9930000},{id:"BI",weight:9863117},
|
||||
{id:"DO",weight:9823821},{id:"BY",weight:9685000},
|
||||
{id:"HT",weight:9648924},{id:"BJ",weight:9056010},
|
||||
{id:"SE",weight:9045000},{id:"AZ",weight:8303512},
|
||||
{id:"SS",weight:8260490},{id:"AT",weight:8205000},
|
||||
{id:"HN",weight:7989415},{id:"CH",weight:7581000},
|
||||
{id:"TJ",weight:7487489},{id:"IL",weight:7353985},
|
||||
{id:"RS",weight:7344847},{id:"BG",weight:7148785},
|
||||
{id:"HK",weight:6898686},{id:"TG",weight:6587239},
|
||||
{id:"LY",weight:6461454},{id:"JO",weight:6407085},
|
||||
{id:"PY",weight:6375830},{id:"LA",weight:6368162},
|
||||
{id:"PG",weight:6064515},{id:"SV",weight:6052064},
|
||||
{id:"NI",weight:5995928},{id:"ER",weight:5792984},
|
||||
{id:"KG",weight:5508626},{id:"DK",weight:5484000},
|
||||
{id:"SK",weight:5455000},{id:"SL",weight:5245695},
|
||||
{id:"FI",weight:5244000},{id:"NO",weight:5009150},
|
||||
{id:"AE",weight:4975593},{id:"TM",weight:4940916},
|
||||
{id:"CF",weight:4844927},{id:"SG",weight:4701069},
|
||||
{id:"GE",weight:4630000},{id:"IE",weight:4622917},
|
||||
{id:"BA",weight:4590000},{id:"CR",weight:4516220},
|
||||
{id:"HR",weight:4491000},{id:"MD",weight:4324000},
|
||||
{id:"NZ",weight:4252277},{id:"LB",weight:4125247},
|
||||
{id:"PR",weight:3916632},{id:"PS",weight:3800000},
|
||||
{id:"LR",weight:3685076},{id:"LT",weight:3565000},
|
||||
{id:"UY",weight:3477000},{id:"PA",weight:3410676},
|
||||
{id:"MR",weight:3205060},{id:"MN",weight:3086918},
|
||||
{id:"CG",weight:3039126},{id:"AL",weight:2986952},
|
||||
{id:"AM",weight:2968000},{id:"OM",weight:2967717},
|
||||
{id:"JM",weight:2847232},{id:"KW",weight:2789132},
|
||||
{id:"LV",weight:2217969},{id:"NA",weight:2128471},
|
||||
{id:"MK",weight:2061000},{id:"BW",weight:2029307},
|
||||
{id:"SI",weight:2007000},{id:"LS",weight:1919552},
|
||||
{id:"XK",weight:1800000},{id:"GM",weight:1593256},
|
||||
{id:"GW",weight:1565126},{id:"GA",weight:1545255},
|
||||
{id:"SZ",weight:1354051},{id:"MU",weight:1294104},
|
||||
{id:"EE",weight:1291170},{id:"TT",weight:1228691},
|
||||
{id:"TL",weight:1154625},{id:"CY",weight:1102677},
|
||||
{id:"GQ",weight:1014999},{id:"FJ",weight:875983},
|
||||
{id:"QA",weight:840926},{id:"RE",weight:776948},
|
||||
{id:"KM",weight:773407},{id:"GY",weight:748486},
|
||||
{id:"DJ",weight:740528},{id:"BH",weight:738004},
|
||||
{id:"BT",weight:699847},{id:"ME",weight:666730},
|
||||
{id:"SB",weight:559198},{id:"CV",weight:508659},
|
||||
{id:"LU",weight:497538},{id:"SR",weight:492829},
|
||||
{id:"MO",weight:449198},{id:"GP",weight:443000},
|
||||
{id:"MQ",weight:432900},{id:"MT",weight:403000},
|
||||
{id:"MV",weight:395650},{id:"BN",weight:395027},
|
||||
{id:"BZ",weight:314522},{id:"IS",weight:308910},
|
||||
{id:"BS",weight:301790},{id:"BB",weight:285653},
|
||||
{id:"EH",weight:273008},{id:"PF",weight:270485},
|
||||
{id:"VU",weight:221552},{id:"NC",weight:216494},
|
||||
{id:"GF",weight:195506},{id:"WS",weight:192001},
|
||||
{id:"ST",weight:175808},{id:"LC",weight:160922},
|
||||
{id:"GU",weight:159358},{id:"YT",weight:159042},
|
||||
{id:"CW",weight:141766},{id:"AN",weight:136197},
|
||||
{id:"TO",weight:122580},{id:"VI",weight:108708},
|
||||
{id:"GD",weight:107818},{id:"FM",weight:107708},
|
||||
{id:"VC",weight:104217},{id:"KI",weight:92533},
|
||||
{id:"JE",weight:90812},{id:"SC",weight:88340},
|
||||
{id:"AG",weight:86754},{id:"AD",weight:84000},
|
||||
{id:"IM",weight:75049},{id:"DM",weight:72813},
|
||||
{id:"AW",weight:71566},{id:"MH",weight:65859},
|
||||
{id:"BM",weight:65365},{id:"GG",weight:65228},
|
||||
{id:"AS",weight:57881},{id:"GL",weight:56375},
|
||||
{id:"MP",weight:53883},{id:"KN",weight:49898},
|
||||
{id:"FO",weight:48228},{id:"KY",weight:44270},
|
||||
{id:"SX",weight:37429},{id:"MF",weight:35925},
|
||||
{id:"LI",weight:35000},{id:"MC",weight:32965},
|
||||
{id:"SM",weight:31477},{id:"GI",weight:27884},
|
||||
{id:"AX",weight:26711},{id:"VG",weight:21730},
|
||||
{id:"CK",weight:21388},{id:"TC",weight:20556},
|
||||
{id:"PW",weight:19907},{id:"BQ",weight:18012},
|
||||
{id:"WF",weight:16025},{id:"AI",weight:13254},
|
||||
{id:"TV",weight:10472},{id:"NR",weight:10065},
|
||||
{id:"MS",weight:9341},{id:"BL",weight:8450},
|
||||
{id:"SH",weight:7460},{id:"PM",weight:7012},
|
||||
{id:"IO",weight:4000},{id:"FK",weight:2638},
|
||||
{id:"SJ",weight:2550},{id:"NU",weight:2166},
|
||||
{id:"NF",weight:1828},{id:"CX",weight:1500},
|
||||
{id:"TK",weight:1466},{id:"VA",weight:921},
|
||||
{id:"CC",weight:628},{id:"TF",weight:140},
|
||||
{id:"PN",weight:46},{id:"GS",weight:30}
|
||||
];
|
||||
return rwc(countries);
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user