Class PlaceDetails

java.lang.Object
com.codename1.maps.places.PlaceDetails

public final class PlaceDetails extends Object
The resolved details of a place: its name, address and location.
  • Constructor Details

    • PlaceDetails

      public PlaceDetails(String placeId, String name, String address, LatLng location)

      Creates the details.

      Parameters
      • placeId: the provider's place ID

      • name: the display name

      • address: the formatted address, may be null

      • location: the position, may be null

  • Method Details

    • getPlaceId

      public String getPlaceId()

      The provider's place ID.

      Returns

      the ID

    • getName

      public String getName()

      The display name.

      Returns

      the name

    • getAddress

      public String getAddress()

      The formatted address.

      Returns

      the address, may be null

    • getLocation

      public LatLng getLocation()

      The position of the place.

      Returns

      the location, may be null