-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from eballo/develop
Develop
- Loading branch information
Showing
20 changed files
with
322 additions
and
2,642 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
/*! Generated 01-09-2017 */ | ||
/*! Generated 27-10-2017 */ | ||
|
||
!function(a,n){$.ajax({url:n.URL_JSON,dataType:"json",async:!0,success:function(a){n.create(n.MAP_OPTIONS,a).loadMapAndText()}})}(window,window.Catmap); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
//--------------------------- | ||
// Configuration values | ||
//--------------------------- | ||
|
||
(function(window, catmap) { | ||
|
||
catmap.URL_JSON = "https://int.catalunyamedieval.es/wp-content/themes/catalunyamedieval/assets/js/catalunya-map/catalunya-map-path.json"; | ||
|
||
catmap.MAP_OPTIONS = { | ||
|
||
colorIn: '#d1eafe', //color when the mouse is over | ||
colorOut: '#fff', //color when the mouse is not over | ||
|
||
scale: 0.8, //scale value | ||
|
||
mapInitWidth: 825, //initial map width | ||
mapInitHeight: 800, //initial map height | ||
|
||
textInitWidth: 250, //initial text width | ||
|
||
mapWidth: 825, //map width variable | ||
mapHeight: 800, //map height variable | ||
|
||
debug: false, //enable/disable debug mode | ||
responsive: true, //enable/disable responsive funcionality | ||
useText: true, //enable/disable list text comarques | ||
|
||
button: true, //enable/disable button functionality | ||
|
||
//if no button functionality | ||
onClick: false, //enable/disable onclick open link | ||
newWindow: false, //enable/disable open a page in a new window for onClick functionality | ||
|
||
comarcaAttr: { //comarca style configuration | ||
fill: '#fff', //white | ||
stroke: '#abacae', //soft grey | ||
'stroke-width': 0.8, | ||
'stroke-linejoin': 'round', | ||
'font-family': 'Verdana', | ||
'font-size': '19px', | ||
'font-weight': 'bold', | ||
'cursor': 'pointer', | ||
'z-index': 10 | ||
}, | ||
|
||
nomComcarcaAttr_in: { //nom comarca style configuration for hover in | ||
fill: '#3300FF', //color for the text of comarca (dark blue) | ||
stroke: '#000000', //black | ||
'stroke-width': 0.4, | ||
'font-family': 'Verdana', | ||
'font-size': '14px', | ||
'font-weight': 'bold', | ||
'cursor': 'pointer', | ||
'z-index': 20 | ||
}, | ||
|
||
nomComcarcaAttr_out: { //nom comarca style configuration for hover out | ||
fill: '#686868', // grey | ||
'stroke-width': 0, | ||
'font-family': 'Verdana', | ||
'font-size': '14px', | ||
'font-weight': 'bold', | ||
'cursor': 'pointer', | ||
'z-index': 20 | ||
}, | ||
|
||
nomCapitalAttr: { //nom capital comarca style configuration | ||
fill: '#FF9900', //orange | ||
"font-family": "Arial, sans-serif", | ||
"font-size": "12px", | ||
'cursor': 'pointer', | ||
'font-weight': 'bold', | ||
'z-index': 30 | ||
} | ||
}; | ||
|
||
}(window, window.Catmap || (window.Catmap = {}))); |
Oops, something went wrong.