From 7a48e8ddce1261c94ef2e9a0527e4d1eadadae21 Mon Sep 17 00:00:00 2001 From: "Justin R. Miller" Date: Fri, 21 Feb 2014 16:22:45 -0800 Subject: [PATCH] move to linear properties for POI opacity --- bin/style.js | 10 +++++----- resources/style.pbf | Bin 1622 -> 1702 bytes src/style/resources.cpp | 27 ++++++++++++++++----------- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/bin/style.js b/bin/style.js index 7675f101e..50b365c1d 100644 --- a/bin/style.js +++ b/bin/style.js @@ -175,35 +175,35 @@ module.exports = { "color": "#cccccc", "size": 18, "image": "alcohol-shop", - "opacity": 0.75 + "opacity": [ "linear", 15, 0, 1.0, 0, 0.75 ] }, "cafe_poi": { "type": "marker", "color": "#cccccc", "size": 18, "image": "cafe", - "opacity": 0.75 + "opacity": [ "linear", 15, 0, 1.0, 0, 0.75 ] }, "embassy_poi": { "type": "marker", "color": "#cccccc", "size": 18, "image": "embassy", - "opacity": 0.75 + "opacity": [ "linear", 15, 0, 1.0, 0, 0.75 ] }, "park_poi": { "type": "marker", "color": "#cccccc", "size": 18, "image": "park", - "opacity": 0.75 + "opacity": [ "linear", 15, 0, 1.0, 0, 0.75 ] }, "restaurant_poi": { "type": "marker", "color": "#cccccc", "size": 18, "image": "restaurant", - "opacity": 0.75 + "opacity": [ "linear", 15, 0, 1.0, 0, 0.75 ] }, } } diff --git a/resources/style.pbf b/resources/style.pbf index 6823fc7b813619ba42f38beb845537d3cc2b5f80..0cec5c89254ea3012d00fdf05a51de8d0d3f0a8f 100644 GIT binary patch delta 246 zcmcb{vy68G3k%Z%*3E1zv5Z_UT-=E{$@v-iIg=N#ifBr3un37TFcdg4fI)*jgm$oZ z;(;pDEzZa)sdFgO4J delta 166 zcmZ3+dyQuU3k%Z)md$J|v5Z_MT-=E{$@v-iIg>ZAib!&BFbT0RFgVyd@j!)ji!<^I zlr$%=VwI9Y$g(6Srll(Bb8)BUCM6aZSAsMnNwY(Rl{C3H3KEO5LDGUqx