From fda1678a969f42add2b22b7b495341f9453f83d3 Mon Sep 17 00:00:00 2001 From: Tobrun Date: Wed, 28 Mar 2018 10:45:20 -0400 Subject: [PATCH 1/2] [android] - fix order of interpolator --- .../mapboxsdk/plugins/locationlayer/LocationLayer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin-locationlayer/src/main/java/com/mapbox/mapboxsdk/plugins/locationlayer/LocationLayer.java b/plugin-locationlayer/src/main/java/com/mapbox/mapboxsdk/plugins/locationlayer/LocationLayer.java index e82f0a22e..a535f3209 100644 --- a/plugin-locationlayer/src/main/java/com/mapbox/mapboxsdk/plugins/locationlayer/LocationLayer.java +++ b/plugin-locationlayer/src/main/java/com/mapbox/mapboxsdk/plugins/locationlayer/LocationLayer.java @@ -167,10 +167,10 @@ private void addSymbolLayer(String layerId, String beforeLayerId) { iconIgnorePlacement(true), iconSize( interpolate(exponential(1f), zoom(), - stop(22f, 1f), - stop(12f, 1f), + stop(0f, 0.6f), stop(10f, 0.6f), - stop(0f, 0.6f) + stop(12f, 1f), + stop(22f, 1f) ) ), iconRotationAlignment(ICON_ROTATION_ALIGNMENT_MAP)); From 14eaa7d8abde07e3479677cc11b49dd80e1b2e92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Paczos?= Date: Wed, 28 Mar 2018 17:02:05 +0200 Subject: [PATCH 2/2] [location-layer-plugin] - fine tuned scale values --- .../mapbox/mapboxsdk/plugins/locationlayer/LocationLayer.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugin-locationlayer/src/main/java/com/mapbox/mapboxsdk/plugins/locationlayer/LocationLayer.java b/plugin-locationlayer/src/main/java/com/mapbox/mapboxsdk/plugins/locationlayer/LocationLayer.java index a535f3209..f9c2d47b5 100644 --- a/plugin-locationlayer/src/main/java/com/mapbox/mapboxsdk/plugins/locationlayer/LocationLayer.java +++ b/plugin-locationlayer/src/main/java/com/mapbox/mapboxsdk/plugins/locationlayer/LocationLayer.java @@ -168,9 +168,7 @@ private void addSymbolLayer(String layerId, String beforeLayerId) { iconSize( interpolate(exponential(1f), zoom(), stop(0f, 0.6f), - stop(10f, 0.6f), - stop(12f, 1f), - stop(22f, 1f) + stop(18f, 1.2f) ) ), iconRotationAlignment(ICON_ROTATION_ALIGNMENT_MAP));