This jVectorMap module is a simple libraries API wrapper for the super cool jVectorMap jQuery JavaScript library. It provides all the wiring to start creating maps in your drupal website. Q: Why isn't it working? No map renders and the map JavaScript file gives error: 'Uncaught TypeError: Cannot read property 'fn' of undefined'. A: This is fixed in the most recent versions of jVectorMap. See https://github.com/bjornd/jvectormap/issues/196. However, if you must use an older version, modify the map js file so it essentially uses jQuery.noConflict() This jVectorMap module is a simple libraries API wrapper for the super cool jVectorMap jQuery JavaScript library. It provides all the wiring to start creating maps in your drupal website. The JavaScript & CSS files library files should have the version number removed i.e. jquery-jvectormap-1.2.2.min.js =>, jquery.jvectormap.min.js. By default the jvectormap library 1.2.2 does not have a minified js file. You have to run build.sh found inside the library file in order to generate a proper minified file. And you can't just minify the file jquery-jvectormap,js because you have to include all the js files inside the /lib inside the library. Source.


Яндекс.Метрика Рейтинг@Mail.ru Free Web Counter
page counter
Last Modified: April 18, 2016 @ 8:05 am