Skip to content

Commit

Permalink
add facebook og
Browse files Browse the repository at this point in the history
  • Loading branch information
eballo committed Sep 1, 2017
1 parent f4fc02a commit b0998bf
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 19 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Interactive vectorial map of Catalunya based on a SVG/VML and the library Rapha
- [Demo v7.0](http://demo.catalunyamedieval.es/map7)
- [Demo v7.1](http://demo.catalunyamedieval.es/map71)
- [Demo v7.2](http://demo.catalunyamedieval.es/map71)
- [Demo v7.3](http://demo.catalunyamedieval.es/map71)

## How to create a Map using a SVG file

Expand Down Expand Up @@ -179,6 +180,11 @@ v7.1
v7.2
- Fix styles

v7.3
- Grunt
- nodejs
- refactor
- sonar fixes

## Webs using this map:
- [blog cimasdestacables](http://cimasdestacables.blogspot.com/p/mapa-comarcal-de-catalunya.html)
Expand Down
2 changes: 1 addition & 1 deletion assets/css/catalunya-map/catalunya-map.min.css

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions assets/css/catalunya-map/main.min.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

body {
background: #fff;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: Helvetica, Arial, sans-serif;
text-align: center;
color: #5554;
}
h1 {
font-size: 25px;
Expand All @@ -28,11 +27,11 @@ a:hover {
}

.description {
margin-left: auto;
margin-right: auto;
width: 99%;
margin-left: auto;
margin-right: auto;
width: 99%;
}

.description strong {
padding: 10px;
}
}
Binary file added assets/images/CM.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/js/catalunya-map/bootstrap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/catalunya-map/catalunya-map-init.min.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/*! Generated 31-08-2017 */
/*! Generated 01-09-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);
10 changes: 5 additions & 5 deletions assets/js/catalunya-map/catalunya-map-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

catmap.MAP_OPTIONS = {

colorIn: '#d1eafe', //color when the mouse is over
colorIn: '#fee8cb', //color when the mouse is over
colorOut: '#fff', //color when the mouse is not over

scale: 0.8, //scale value
Expand All @@ -33,8 +33,8 @@
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
fill: '#fff',
stroke: '#c7ab89', //color for the limit line of comarca (clear brown)
'stroke-width': 0.8,
'stroke-linejoin': 'round',
'font-family': 'Verdana',
Expand All @@ -45,7 +45,7 @@
},

nomComcarcaAttr_in: { //nom comarca style configuration for hover in
fill: '#3300FF', //color for the text of comarca (dark blue)
fill: '#a07a49', //color for the text of comarca (dark brown)
stroke: '#000000', //black
'stroke-width': 0.4,
'font-family': 'Verdana',
Expand All @@ -56,7 +56,7 @@
},

nomComcarcaAttr_out: { //nom comarca style configuration for hover out
fill: '#686868', // grey
fill: '#a07a49',
'stroke-width': 0,
'font-family': 'Verdana',
'font-size': '12px',
Expand Down
2 changes: 1 addition & 1 deletion assets/js/catalunya-map/catalunya-map.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/js/catalunya-map/jquery-3.2.1.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/catalunya-map/scale.raphael.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@
<html>

<head>
<title>Interactive Map of Catalunya SVG/VML and RaphaëlJs - Demo V7.0</title>
<title>Interactive Map of Catalunya SVG/VML and RaphaëlJs - Demo V7.3</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="SVG/VML Interactive Catalunya Map">
<meta name="author" content="Enric Ballo">
<meta name="viewport" content="width=device-width">
<link rel="shortcut icon" href="favicon.png" />

<!-- facebook tags -->
<meta property="og:image" content="assets/images/CM.png" />
<meta property="og:image:width" content="auto" />
<meta property="og:description" content="Interactive Map of Catalunya SVG/VML and RaphaëlJs" />
<meta property="og:url"content="http://demo.catalunyamedieval.es/map73/" />
<meta property="og:title" content="Interactive Map of Catalunya SVG/VML and RaphaëlJs" />

<script type="text/javascript" src="assets/js/catalunya-map/raphael.min.js"></script>
<script type="text/javascript" src="assets/js/catalunya-map/scale.raphael.min.js"></script>
<script type="text/javascript" src="assets/js/catalunya-map/jquery-3.2.1.min.js"></script>
Expand All @@ -25,7 +32,7 @@

<body>

<h1 class="page-header">Interactive Map of Catalunya SVG/VML and RaphaëlJs - Demo v7.0</h1>
<h1 class="page-header">Interactive Map of Catalunya SVG/VML and RaphaëlJs - Demo v7.3</h1>

<div id="container row">

Expand Down

0 comments on commit b0998bf

Please sign in to comment.