Class StaticMapResult
java.lang.Object
com.cercalia.sdk.model.staticmaps.StaticMapResult
Result from generating a static map.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull StaticMapResult.Builderbuilder()@Nullable Coordinate@Nullable StaticMapExtent@Nullable String@Nullable Integer@org.jetbrains.annotations.Nullable byte[]@Nullable String@Nullable String@Nullable StringgetLabel()@Nullable IntegergetScale()@Nullable IntegergetWidth()toString()
-
Method Details
-
getImageUrl
- Returns:
- URL to the image.
-
getImagePath
- Returns:
- Path to the image file.
-
getWidth
- Returns:
- Image width.
-
getHeight
- Returns:
- Image height.
-
getFormat
- Returns:
- Image format.
-
getScale
- Returns:
- Map scale.
-
getCenter
- Returns:
- Map center.
-
getExtent
- Returns:
- Map extent.
-
getLabel
- Returns:
- Map label.
-
getImageData
@Nullable public @org.jetbrains.annotations.Nullable byte[] getImageData()- Returns:
- Raw image data.
-
builder
- Returns:
- A new builder for
StaticMapResult.
-
toString
-