public class MapStrictMode extends Object
MapStrictModeException
whenever the map would fail silently otherwise.Constructor and Description |
---|
MapStrictMode() |
Modifier and Type | Method and Description |
---|---|
static void |
setStrictModeEnabled(boolean strictModeEnabled)
Set the strict mode that will throw the
MapStrictModeException
whenever the map would fail silently otherwise. |
static void |
strictModeViolation(String message)
Internal use.
|
static void |
strictModeViolation(String message,
Throwable throwable)
Internal use.
|
static void |
strictModeViolation(Throwable throwable)
Internal use.
|
public static void setStrictModeEnabled(boolean strictModeEnabled)
MapStrictModeException
whenever the map would fail silently otherwise.strictModeEnabled
- true to enable the strict mode, false otherwisepublic static void strictModeViolation(String message)
public static void strictModeViolation(String message, Throwable throwable)
public static void strictModeViolation(Throwable throwable)
© 2015–2019 Mapbox. All rights reserved.