equal
deleted
inserted
replaced
39 color: "#7CACAE", |
39 color: "#7CACAE", |
40 passZoomValuesToTarget: true |
40 passZoomValuesToTarget: true |
41 }, { |
41 }, { |
42 id: "asia", |
42 id: "asia", |
43 linkToObject: worldDataProvider, |
43 linkToObject: worldDataProvider, |
44 color: "#E0EEEF", |
44 color: "#fff", |
|
45 selectable: false, |
45 passZoomValuesToTarget: true |
46 passZoomValuesToTarget: true |
46 }, { |
47 }, { |
47 id: "australia", |
48 id: "australia", |
48 linkToObject: worldDataProvider, |
49 linkToObject: worldDataProvider, |
49 color: "#E0EEEF", |
50 color: "#fff", |
|
51 selectable: false, |
50 passZoomValuesToTarget: true |
52 passZoomValuesToTarget: true |
51 }, { |
53 }, { |
52 id: "europe", |
54 id: "europe", |
53 linkToObject: worldDataProvider, |
55 linkToObject: worldDataProvider, |
54 color: "#2D7073", |
56 color: "#2D7073", |
59 color: "#B0D1D3", |
61 color: "#B0D1D3", |
60 passZoomValuesToTarget: true |
62 passZoomValuesToTarget: true |
61 }, { |
63 }, { |
62 id: "south_america", |
64 id: "south_america", |
63 linkToObject: worldDataProvider, |
65 linkToObject: worldDataProvider, |
64 color: "#E0EEEF", |
66 color: "#fff", |
|
67 selectable: false, |
65 passZoomValuesToTarget: true |
68 passZoomValuesToTarget: true |
66 }] |
69 }] |
67 |
70 |
68 }; |
71 }; |
69 |
72 |
75 areasSettings: { |
78 areasSettings: { |
76 autoZoom: true, |
79 autoZoom: true, |
77 rollOverOutlineColor: "#000000", |
80 rollOverOutlineColor: "#000000", |
78 selectedOutlineColor: "#CC0000", |
81 selectedOutlineColor: "#CC0000", |
79 selectedColor: "green", |
82 selectedColor: "green", |
80 color: "#E0EEEF" |
83 color: "#fff" |
81 }, |
84 }, |
82 |
85 |
83 dataProvider: continentsDataProvider, |
86 dataProvider: continentsDataProvider, |
84 |
87 |
85 listeners: [{event:"clickMapObject", method:handleMapObjectClick}] |
88 listeners: [{event:"clickMapObject", method:handleMapObjectClick}] |
115 area.svg.g.path.map(function(elt){ |
118 area.svg.g.path.map(function(elt){ |
116 |
119 |
117 areaList.push({ |
120 areaList.push({ |
118 id: elt.id, |
121 id: elt.id, |
119 linkToObject: (elt.id === "FR" ? dataProvider : ""), |
122 linkToObject: (elt.id === "FR" ? dataProvider : ""), |
120 color: ((typeof(count[elt.id]) === "undefined") ? "#E0EEEF" : "#2D7073"), |
123 color: ((typeof(count[elt.id]) === "undefined") ? "#fff" : "#2D7073"), |
121 autoZoom: (elt.id === "FR" ? true : false), |
124 autoZoom: (elt.id === "FR" ? true : false), |
122 selectable: true, |
125 selectable: true, |
123 passZoomValuesToTarget: false |
126 passZoomValuesToTarget: false |
124 }); |
127 }); |
125 }); |
128 }); |