public abstract class MapboxStaticMap
extends java.lang.Object
This class helps make a valid request and gets the information correctly formatted for Picaso or Glide libraries which help download the image and place it into an Image View.
| Modifier and Type | Class and Description |
|---|---|
static class |
MapboxStaticMap.Builder
Static image builder used to customize the image, including location, image width/height,
and camera position.
|
| Constructor and Description |
|---|
MapboxStaticMap() |
| Modifier and Type | Method and Description |
|---|---|
static MapboxStaticMap.Builder |
builder()
Build a new
MapboxStaticMap object with the initial values set for
baseUrl(), user(), attribution(), styleId(),
and retina(). |
okhttp3.HttpUrl |
url()
Returns the formatted URL string meant to be passed to your Http client for retrieval of the
actual Mapbox Static Image.
|
public okhttp3.HttpUrl url()
HttpUrl which can be used for making the request for the imagepublic static MapboxStaticMap.Builder builder()
MapboxStaticMap object with the initial values set for
baseUrl(), user(), attribution(), styleId(),
and retina().MapboxStaticMap.Builder object for creating this object