Geo#

class Geo(**properties: Any)#

Superclasses: Object, Object

This is the ICalGeo instance.

Constructors#

class Geo
classmethod new(lat: float, lon: float) Geo#

Creates a new Geo.

Added in version 1.0.

Parameters:
  • lat – Latitude

  • lon – Longitude

Methods#

class Geo
clone() Geo#

Creates a new Geo, copy of geo.

Added in version 1.0.

get_lat() float#

Gets the latitude of Geo.

Added in version 1.0.

get_lon() float#

Gets the longitude of Geo.

Added in version 1.0.

set_lat(lat: float) None#

Sets the latitude of Geo.

Added in version 1.0.

Parameters:

lat – The latitude

set_lon(lon: float) None#

Sets the longitude of Geo.

Added in version 1.0.

Parameters:

lon – The longitude