diff options
author | kevin <kevin.li@mapbox.com> | 2019-02-14 12:48:43 +0800 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2019-02-19 19:42:28 +0100 |
commit | 68cea961f23c459901d667e497e8ee7d35d3a7de (patch) | |
tree | dd0c84532289bead21a0012186c0b2b3c2acd796 | |
parent | 9750921dacf42cffa3c8b187d8fdc38e6ae1e5b4 (diff) | |
download | qtlocation-mapboxgl-68cea961f23c459901d667e497e8ee7d35d3a7de.tar.gz |
[android] set localIdeographFontFamily default to sans-serif
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMapOptions.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMapOptions.java index acfe8ede43..127d414750 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMapOptions.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMapOptions.java @@ -68,7 +68,7 @@ public class MapboxMapOptions implements Parcelable { private boolean prefetchesTiles = true; private boolean zMediaOverlay = false; - private String localIdeographFontFamily; + private String localIdeographFontFamily = "sans-serif"; private String apiBaseUrl; diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/snapshotter/MapSnapshotter.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/snapshotter/MapSnapshotter.java index a1d84f1fd4..f4340e333a 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/snapshotter/MapSnapshotter.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/snapshotter/MapSnapshotter.java @@ -99,7 +99,7 @@ public class MapSnapshotter { private LatLngBounds region; private CameraPosition cameraPosition; private boolean showLogo = true; - private String localIdeographFontFamily; + private String localIdeographFontFamily = "sans-serif"; private String apiBaseUrl; /** |