Place
Object Hierarchy:
Description:
All the fields in the Place structure are private and should never be accessed directly.
Namespace: Geocode
Package: geocode-glib-1.0
Content:
Properties:
- public string administrative_area { get; set; }
The local administrative area.
- public string area { get; set; }
A named area such as a campus or neighborhood.
- public BoundingBox bounding_box { get; set; }
The bounding box for the place.
- public string building { get; set; }
A specific building on a street or in an area.
- public string continent { get; set; }
The continent.
- public string country { get; set; }
The country.
- public string country_code { get; set; }
The country code.
- public string county { get; set; }
The county.
- public Icon icon { get; }
Icon representing the
GeocodePlace
. - public Location location { get; set; }
The location info for the place.
- public string name { get; set; }
The name of the place.
- public string osm_id { owned get; set; }
The OpenStreetMap id of the place.
- public PlaceOsmType osm_type { get; set; }
The OpenStreetMap type of the place.
- public PlaceType place_type { get; construct; }
The type of the place.
- public string postal_code { get; set; }
The postal code.
- public string state { get; set; }
The state.
- public string street { get; set; }
The street name.
- public string street_address { get; set; }
The street address.
- public string town { get; set; }
The town.
Creation methods:
- public Place (string name, PlaceType place_type)
Creates a new Place object.
- public Place.with_location (string name, PlaceType place_type, Location location)
Creates a new Place object.
Methods:
- public bool equal (Place b)
Compare two Place instances for equality.
- public unowned string get_administrative_area ()
Gets the local administrative area of the this .
- public unowned string get_area ()
Gets the area of the this.
- public unowned BoundingBox get_bounding_box ()
Gets the bounding box for the place this.
- public unowned string get_building ()
Gets the building of the this.
- public unowned string get_continent ()
Gets the continent of the this.
- public unowned string get_country ()
Gets the country of the this.
- public unowned string get_country_code ()
Gets the ISO-3166 country code of the this .
- public unowned string get_county ()
Gets the county of the this.
- public unowned Icon get_icon ()
Gets the Icon representing the this.
- public unowned Location get_location ()
Gets the associated location object.
- public unowned string get_name ()
Gets the name of the this.
- public unowned string get_osm_id ()
Gets the OpenStreetMap ID of the this.
- public PlaceOsmType get_osm_type ()
Gets the OpenStreetMap type of the this.
- public PlaceType get_place_type ()
Gets the type of the this.
- public unowned string get_postal_code ()
Gets the postal code of the this.
- public unowned string get_state ()
Gets the state of the this.
- public unowned string get_street ()
Gets the street of the this.
- public unowned string get_street_address ()
Gets the street address of the this.
- public unowned string get_town ()
Gets the town of the this.
- public void set_administrative_area (string admin_area)
Sets the local administrative area of this to
admin_area
. - public void set_area (string area)
Sets the area of this to
area
. - public void set_bounding_box (BoundingBox bbox)
Sets the BoundingBox for the place this.
- public void set_building (string building)
Sets the building of this to
building
. - public void set_continent (string continent)
Sets the continent of this to
continent
. - public void set_country (string country)
Sets the country of this to
country
. - public void set_country_code (string country_code)
Sets the ISO country code of this to
country_code
. - public void set_county (string county)
Sets the county of this to
county
. - public void set_location (Location location)
Sets the location of this to
location
. - public void set_name (string name)
Sets the name of the this to
name
. - public void set_postal_code (string postal_code)
Sets the postal code of this to
postal_code
. - public void set_state (string state)
Sets the state of this to
state
. - public void set_street (string street)
Sets the street of this to
street
. - public void set_street_address (string street_address)
Sets the street address of this to
street_address
. - public void set_town (string town)
Sets the town of this to
town
.
Inherited Members:
All known members inherited from class GLib.Object