Skip to content

Instantly share code, notes, and snippets.

@drannex42
Created July 21, 2014 09:24
Show Gist options
  • Save drannex42/8b6cada7c0321758db26 to your computer and use it in GitHub Desktop.
Save drannex42/8b6cada7c0321758db26 to your computer and use it in GitHub Desktop.
colors = {};
colors['ca'] = '#A4D886';
colors['ru'] = '#FCECA2';
colors['cn'] = '#F9573B';
colors['us'] = '#87CEEB';
colors['jp'] = '#34BD0E';
colors['au'] = '#BCC7FC';
colors['kz'] = '#D4624E';
colors['de'] = '#34BD0E';
$('#custom-color').vectorMap({
colors: colors,
hoverOpacity: 0.7, // opacity for :hover
hoverColor: false
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment