hyperlink - jvector map of CA wants to simply link provinces to each html page -


i'm using following ca map :

assets/jquery-jvectormap-ca-lcc-en.js

i didn't modification in file.

what want link provinces html pages whenever click on of it.

here live demo page i'm using :http://mindsharehost.com/maps/tests/reverse-projection.html

if understand question correctly, done. need redirect url using location.href.

$(function () {     $('#map').vectormap({         map: 'ca_lcc_en',         markers: markers,         onmarkerclick: function (e, index) {             location.href = markers[index].weburl;         }     }); }); 

Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -