You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.
I need to have the top half of one state be different than the bottom half of the state. Can anyone think of any way I can achieve this? Basically, the color of the top half should be different than that of the bottom half and the action that happens when clicked also needs to be different.
The text was updated successfully, but these errors were encountered:
You will have to edit the js file with new SVG paths to create 2 states out of the one, this is pretty easily achievable with illustrator CC, as you can cut the existing layer for the state into 2 layers, and it will export the paths for you.
Agreed. You can also do this with Inkscape or the Chrome extension Boxy SVG which works really well. Based on the path names you use, you'll also need to modify the list of states/paths in the jquery.usmap.js file.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I need to have the top half of one state be different than the bottom half of the state. Can anyone think of any way I can achieve this? Basically, the color of the top half should be different than that of the bottom half and the action that happens when clicked also needs to be different.
The text was updated successfully, but these errors were encountered: