From 40c1104bbb3ed447ea4eb68ab628a28bb9142260 Mon Sep 17 00:00:00 2001 From: Avital Oliver Date: Sat, 13 Oct 2012 13:19:43 -0700 Subject: [PATCH] parties: add a placeholder background map image --- examples/parties/client/client.js | 4 ++-- examples/parties/parties.css | 5 +++++ examples/parties/parties.html | 2 +- examples/parties/public/soma.jpeg | Bin 0 -> 176762 bytes 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 examples/parties/public/soma.jpeg diff --git a/examples/parties/client/client.js b/examples/parties/client/client.js index 9718e3c87b..7e03052064 100644 --- a/examples/parties/client/client.js +++ b/examples/parties/client/client.js @@ -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"); diff --git a/examples/parties/parties.css b/examples/parties/parties.css index b6b4052b43..f3b948815e 100644 --- a/examples/parties/parties.css +++ b/examples/parties/parties.css @@ -1 +1,6 @@ /* CSS declarations go here */ + +.map { + background-image: url('/soma.jpeg'); + background-position: -20px -20px; +} \ No newline at end of file diff --git a/examples/parties/parties.html b/examples/parties/parties.html index 414a3a0c0b..f17b547e17 100644 --- a/examples/parties/parties.html +++ b/examples/parties/parties.html @@ -40,7 +40,7 @@