You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
1.9 KiB
6 lines
1.9 KiB
6 years ago
|
/*!
|
||
|
* stack-admin-theme (https://pixinvent.com/bootstrap-admin-template/stack)
|
||
|
* Copyright 2018 PIXINVENT
|
||
|
* Licensed under the Themeforest Standard Licenses
|
||
|
*/
|
||
|
$(window).on("load",function(){$(".zoom").mapael({map:{name:"france_departments",zoom:{enabled:!0,maxLevel:10},defaultPlot:{attrs:{fill:"#E84A5F",opacity:.8},attrsHover:{opacity:1},text:{attrs:{fill:"#2A363B"},attrsHover:{fill:"#000"}}},defaultArea:{attrs:{fill:"#FECEA8",stroke:"#FFFFFF"},attrsHover:{fill:"#99B898"},text:{attrs:{fill:"#2A363B"},attrsHover:{fill:"#000"}}}},areas:{"department-56":{text:{content:"Morbihan",attrs:{"font-size":10}},tooltip:{content:"Morbihan (56)"}},"department-21":{attrs:{fill:"#FF847C"},attrsHover:{fill:"#99B898"}}},plots:{paris:{type:"image",url:"http://www.neveldo.fr/mapael/assets/img/marker.png",width:12,height:40,latitude:48.86,longitude:2.3444,attrs:{opacity:1},attrsHover:{transform:"s1.5"}},Limoge:{type:"svg",path:"M 24.267286,27.102843 15.08644,22.838269 6.3686216,27.983579 7.5874348,17.934248 0,11.2331 9.9341158,9.2868473 13.962641,0 l 4.920808,8.8464793 10.077199,0.961561 -6.892889,7.4136777 z",width:30,height:30,latitude:45.8188276,longitude:1.1060351,attrs:{opacity:1}},lyon:{type:"circle",size:50,latitude:45.758888888889,longitude:4.8413888888889,value:7e5,tooltip:{content:'<span style="font-weight:bold;">City :</span> Lyon'},text:{content:"Lyon"}},rennes:{type:"square",size:20,latitude:48.114166666667,longitude:-1.6808333333333,tooltip:{content:'<span style="font-weight:bold;">City :</span> Rennes'},text:{content:"Rennes"}},myplot:{x:300,y:200,text:{content:"My plot",position:"bottom",attrs:{"font-size":10,fill:"#E84A5F",opacity:.8},attrsHover:{fill:"#E84A5F",opacity:1}}},Bordeaux:{type:"circle",size:30,latitude:44.834763,longitude:-.580991,attrs:{opacity:1},text:{content:"33",position:"inner",attrs:{"font-size":16,"font-weight":"bold",fill:"#fff"},attrsHover:{"font-size":16,"font-weight":"bold",fill:"#fff"}}}}})});
|