Class VenueModel

java.lang.Object
com.here.NativeBase
com.here.sdk.venue.data.VenueModel

public final class VenueModel extends NativeBase

Represents a building or a complex of buildings, like airports or universities.

  • Method Details

    • getDrawing

      @NonNull public VenueDrawing getDrawing(int drawingId)

      Gets a drawing for a given drawing id.

      Parameters:
      drawingId -

      The id of the drawing.

      Returns:

      The drawing with the given id or null.

    • getDrawing

      @NonNull public VenueDrawing getDrawing(@NonNull String drawingId)

      Gets a drawing for a given drawing id.

      Parameters:
      drawingId -

      The id of the drawing.

      Returns:

      The drawing with the given id or null.

    • filterGeometry

      @NonNull public List<VenueGeometry> filterGeometry(@NonNull String filter, @NonNull VenueGeometryFilterType filterType)

      Gets the filtered geometries in an ascending order.

      Parameters:
      filter -

      The filter string.

      filterType -

      The filter type.

      Returns:

      The list of the filtered geometries or an empty list.

    • getId

      public int getId()

      Gets an id of the venue model.

      Returns:

      The id of the venue model.

    • getIdentifier

      @NonNull public String getIdentifier()

      Gets an id of the venue model.

      Returns:

      The id of the venue model.

    • getCenter

      @NonNull public GeoCoordinates getCenter()

      Gets a center of the venue model.

      Returns:

      The geographic coordinates of the center of the venue model.

    • getBoundingBox

      @NonNull public GeoBox getBoundingBox()

      Gets a bounding box of the venue model.

      Returns:

      The GeoBox of the bounding area of the venue model.

    • getDrawings

      @NonNull public List<VenueDrawing> getDrawings()

      Gets the drawings of the venue model.

      Returns:

      The array of the Drawing objects.

    • getProperties

      @NonNull public Map<String,Property> getProperties()

      Gets properties of the venue model.

      Returns:

      The properties of the venue model.

    • getLanguage

      @NonNull public String getLanguage()

      Gets a language of the venue model.

      Returns:

      The language of the venue model.

    • getGeometriesByName

      @NonNull public List<VenueGeometry> getGeometriesByName()

      Gets the geometries ordered by the name in an ascending order.

      Returns:

      The geometries ordered by the name in an ascending order.

    • getGeometriesByIconNames

      @NonNull public Map<String,List<VenueGeometry>> getGeometriesByIconNames()

      Gets geometries mapped by icon names.

      Returns:

      The map from the icon names to the geometries in the drawing.

    • getTopologies

      @NonNull public List<VenueTopology> getTopologies()

      Gets a list of topologies of the drawing.

      Returns:

      The list of topologies of the drawing.

    • getGeometries

      @NonNull public List<VenueGeometry> getGeometries()

      Gets a list of geometries of the venue.

      Returns:

      The list of geometries of the venue or an empty list if no geometry present for venue.