Class StaticMapResult.Builder
java.lang.Object
com.cercalia.sdk.model.staticmaps.StaticMapResult.Builder
- Enclosing class:
- StaticMapResult
Builder for
StaticMapResult.-
Method Summary
Modifier and TypeMethodDescription@NotNull StaticMapResultbuild()center(@Nullable Coordinate center) extent(@Nullable StaticMapExtent extent) imageData(@org.jetbrains.annotations.Nullable byte[] imageData)
-
Method Details
-
imageUrl
- Parameters:
imageUrl- Image URL. @return This builder.
-
imagePath
- Parameters:
imagePath- Image path. @return This builder.
-
width
- Parameters:
width- Width. @return This builder.
-
height
- Parameters:
height- Height. @return This builder.
-
format
- Parameters:
format- Format. @return This builder.
-
scale
- Parameters:
scale- Scale. @return This builder.
-
center
- Parameters:
center- Center. @return This builder.
-
extent
- Parameters:
extent- Extent. @return This builder.
-
label
- Parameters:
label- Label. @return This builder.
-
imageData
public StaticMapResult.Builder imageData(@Nullable @org.jetbrains.annotations.Nullable byte[] imageData) - Parameters:
imageData- Image data. @return This builder.
-
build
- Returns:
- A new
StaticMapResultinstance.
-