Navigation Menu

Skip to content

Commit

Permalink
Added zip code maps
Browse files Browse the repository at this point in the history
  • Loading branch information
cody1213 committed May 30, 2014
1 parent ff01f2f commit 05a2558
Show file tree
Hide file tree
Showing 58 changed files with 181,686 additions and 408 deletions.
11 changes: 6 additions & 5 deletions dist/jquery.twism.js
Expand Up @@ -114,10 +114,7 @@
}, options);
// add the SVG to the div
var that = self;
that.css({
width: (settings.width || "100%"),
height: (settings.height || "100%"),
});

if (settings.map == "world") {
var file = (settings.antarctica) ? 'world-map-with-antarctica.svg' : 'world-map.svg';
} else if (settings.map == "usa") {
Expand All @@ -133,6 +130,10 @@
settings.hideCountries.push("PR");

}
} else if (settings.map == "state") {
var file = 'US_states/'+settings.state+'.svg';
} else if (settings.map == "county") {
var file = 'USA_Counties.svg';
} else if (settings.map == "custom") {
var url = settings.customMap;
}
Expand Down Expand Up @@ -217,7 +218,7 @@
});
}

$("svg path, svg rect", that).css({
$("svg path[id], svg rect", that).css({
fill: settings.color,
stroke: settings.border,
strokeWidth: settings.borderWidth
Expand Down
3,153 changes: 3,153 additions & 0 deletions dist/maps/USA_Counties.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,322 changes: 3,322 additions & 0 deletions dist/maps/US_States/AK.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,522 changes: 3,522 additions & 0 deletions dist/maps/US_States/AL.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 05a2558

Please sign in to comment.