initial commit

This commit is contained in:
2019-01-11 22:16:01 +03:00
commit 24c5f2fcf6
312 changed files with 186972 additions and 0 deletions
@@ -0,0 +1,35 @@
/*
Name: Maps / Vector - Examples
Written by: Okler Themes - (http://www.okler.net)
Theme Version: 2.1.1
*/
(function($) {
'use strict';
var initMap = function( $el, options ) {
var defaults = {
backgroundColor: null,
color: '#FFFFFF',
hoverOpacity: 0.7,
selectedColor: '#005599',
enableZoom: true,
borderWidth:1,
showTooltip: true,
values: sample_data,
scaleColors: ['#1AA2E6', '#0088CC'],
normalizeFunction: 'polynomial'
};
$el.vectorMap( $.extend( defaults, options ) );
};
$(function() {
$( '[data-vector-map]' ).each(function() {
var $this = $(this);
initMap( $this, ($this.data( 'plugin-options' ) || {}) )
});
});
}).apply(this, [jQuery]);