Class StaticMapResult

java.lang.Object
com.cercalia.sdk.model.staticmaps.StaticMapResult

public final class StaticMapResult extends Object
Result from generating a static map.
  • Method Details

    • getImageUrl

      @Nullable public @Nullable String getImageUrl()
      Returns:
      URL to the image.
    • getImagePath

      @Nullable public @Nullable String getImagePath()
      Returns:
      Path to the image file.
    • getWidth

      @Nullable public @Nullable Integer getWidth()
      Returns:
      Image width.
    • getHeight

      @Nullable public @Nullable Integer getHeight()
      Returns:
      Image height.
    • getFormat

      @Nullable public @Nullable String getFormat()
      Returns:
      Image format.
    • getScale

      @Nullable public @Nullable Integer getScale()
      Returns:
      Map scale.
    • getCenter

      @Nullable public @Nullable Coordinate getCenter()
      Returns:
      Map center.
    • getExtent

      @Nullable public @Nullable StaticMapExtent getExtent()
      Returns:
      Map extent.
    • getLabel

      @Nullable public @Nullable String getLabel()
      Returns:
      Map label.
    • getImageData

      @Nullable public @org.jetbrains.annotations.Nullable byte[] getImageData()
      Returns:
      Raw image data.
    • builder

      @NotNull public static @NotNull StaticMapResult.Builder builder()
      Returns:
      A new builder for StaticMapResult.
    • toString

      public String toString()
      Overrides:
      toString in class Object