bjornd / jvectormap

jvectormap.com
GNU Affero General Public License v3.0
1.38k stars 431 forks source link

Jvector Map error : Uncaught ReferenceError: jvm is not defined #454

Open abnitchauhan opened 5 years ago

abnitchauhan commented 5 years ago

Hi there I am trying to fetch the data from the mysql database through php . I have got the values in JSON format but not able to show it in the Vector Map. Here is my Script : ``

The Code is Showing the Error : Uncaught ReferenceError: jvm is not defined at w.fn.init.a.fn.vectorMap

fraballi commented 4 years ago

Need to import four js files:

If using bower (bower.json), these were the packages:

    "jvectormap": "2.0.5",
    "jvectormap-maps": "*"

Best, using jquery.jvectormap.min.js file from distribution. Or, run locally: 'build.sh', from downloaded .zip file. See: build.sh