parties: add a placeholder background map image

This commit is contained in:
Avital Oliver
2012-10-13 13:19:43 -07:00
parent e606a9b20a
commit 40c1104bbb
4 changed files with 8 additions and 3 deletions

View File

@@ -142,7 +142,7 @@ Template.map.rendered = function () {
return party.public ? 'red' : 'blue';
})
.style('opacity', function (party) {
return selected === party._id ? 1 : 0.2;
return selected === party._id ? 1 : 0.4;
});
marker.transition()
@@ -160,7 +160,7 @@ Template.map.rendered = function () {
return party.public ? 'red' : 'blue';
})
.style('opacity', function (party) {
return selected === party._id ? 1 : 0.2;
return selected === party._id ? 1 : 0.4;
})
.ease("cubic-out");

View File

@@ -1 +1,6 @@
/* CSS declarations go here */
.map {
background-image: url('/soma.jpeg');
background-position: -20px -20px;
}

View File

@@ -40,7 +40,7 @@
<template name="map">
<div class="map">
{{#constant}}
<svg width="500" height="500">
<svg width="480" height="480">
<g class="circles"></g>
<g class="labels"></g>
</svg>

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB