public class Utils
extends java.lang.Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getNextStyle()
Utility to cycle through map styles.
|
static Location |
getRandomLocation(LatLngBounds bounds)
Utility for getting a random coordinate inside a provided bounds and creates a
Location from it. |
public static java.lang.String getNextStyle()
public static Location getRandomLocation(LatLngBounds bounds)
Location
from it.bounds
- bounds of the generated locationLocation
object using the random coordinate