map API, jquery

ITsolutionWizard used Ask the Experts™

I used above api for usa map. if all i need is: when the state is onclick, e.g. California, then call one of my js file and all it does is to open modal, and carrier selected state.

how can i do that?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2017
According to this document:
Capture.JPGReplace your js code with this (lines 415-422):
            map: cont.attr('data-name'),
            backgroundColor: 'transparent',
            regionStyle: {
              initial: {
                fill: '#8d8d8d'
           //do something with your code

Open in new window

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial