VenueCollection

open class VenueCollection : MPModelBase

Author

Daniel Nielsen - Copyright © 2017 MapsPeople A/S. All rights reserved.

Functions

Link copied to clipboard
@Nullable
open fun getCurrentVenue(): Venue
Link copied to clipboard
@Nullable
open fun getVenue(@Nullable venueName: String): Venue
Link copied to clipboard
@Nullable
open fun getVenueById(@Nullable venueId: String): Venue
Link copied to clipboard
@Nullable
open fun getVenueByName(@Nullable venueName: String): Venue
Gets a Venue using a venue name
Link copied to clipboard
@Nullable
open fun getVenueClosestToCameraTarget(@Nullable cameraTarget: LatLng, @Nullable venuesInView: List<Venue>): Venue
Link copied to clipboard
@Nullable
open fun getVenuesInBounds(@NonNull bounds: LatLngBounds): List<Venue>
Builds up a list of visible buildings (their AABB intersects with the given bounds).
Link copied to clipboard
open fun intersectionArea(@NonNull bbox: Array<Double>, @NonNull latLngBounds: LatLngBounds): Double
Link copied to clipboard
open fun selectVenue(@Nullable venueId: String): Boolean
Sets the current venue to the given one

Properties

Link copied to clipboard
@get:Nullable
private open val defaultVenue: Venue
Link copied to clipboard
@get:NonNull
private open val venues: List<Venue>