This repository has been archived by the owner on Mar 26, 2021. It is now read-only.
forked from mapbox/mapbox-gl-native
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'mapbox_release_5.3' into mappy_mergre_mapbox_5.2.1
* mapbox_release_5.3: (25 commits) [android] - update changelog for 5.3.0 [android] added map touch listeners api based on lists [android] Tweak TinySDF docs to better describe font-family behavior. Saving/restoring MyLocationViewSettings (mapbox#10746) (mapbox#10748) [android] Updated Spanish, Vietnamese translations Android SDK renaming (mapbox#10609) [android] - use default icon when compass icon fails to decode (mapbox#10694) [android] - remove startup flash from fragment, rework OnMapReady callback for multiple listeners (mapbox#10717) [android] Add Configuration hook for local ideograph font family and demo activity [android] Android implementation of local CJK glyph rendering - Draws bold version of glyph if font stack contains string "bold" - Not hooked up to global configuration yet [core] Hook LocalGlyphRasterizer "font family" configuration up to Renderer [core] Enable local glyph generation using TinySDF. - Platform-specific LocalGlyphRasterizer is responsible for deciding which glyphs to rasterize locally and for implementing the rasterization. - Default platform implementation doesn't locally generate any glyphs -> no behavior change - Unit test uses StubLocalGlyphRasterizer, which returns a single fixed bitmap for all CJK glyphs - Rename glyph_loader.test to glyph_manager.test [core] C++ port of TinySDF [ios, macos] Cleaned up base localization files [android] - update instrumented make target, move code style validation before building C++ code, replace code style checks with the wrapper code style check. (mapbox#10724) [android] - activate filesource when creating an offline region (mapbox#10718) [ios] update constraints when updating content inset [ios] Fix an Interface Builder crash for IBInspectable properties. [ios] Fix the content insets for the scale and compass view. Post camera listener invocations (mapbox#10690) ... # Conflicts: # platform/android/MapboxGLAndroidSDK/gradle.properties # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/http/HTTPRequest.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapGestureDetector.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java
- Loading branch information
Showing
75 changed files
with
1,435 additions
and
387 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...m/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/http/HttpRequestUtil.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.mapbox.mapboxsdk.http; | ||
|
||
/** | ||
* Utility class for setting HttpRequest configurations | ||
*/ | ||
public class HttpRequestUtil { | ||
|
||
/** | ||
* Set the log state of HttpRequest. | ||
* <p> | ||
* This configuration will outlast the lifecycle of the Map. | ||
* </p> | ||
* | ||
* @param enabled True will enable logging, false will disable | ||
*/ | ||
public static void setLogEnabled(boolean enabled) { | ||
HTTPRequest.enableLog(enabled); | ||
} | ||
} |
Oops, something went wrong.