Enums

Details

class Champlain.MapProjection(value)

Bases: GObject.GEnum

Projections supported by the library.

MERCATOR = 0

Currently the only supported projection

class Champlain.SelectionMode(value)

Bases: GObject.GEnum

Selection mode

NONE = 0

No marker can be selected.

SINGLE = 1

Only one marker can be selected.

MULTIPLE = 2

Multiple marker can be selected.

class Champlain.State(value)

Bases: GObject.GEnum

Tile loading state.

NONE = 0

Initial or undefined state

LOADING = 1

Tile is loading

LOADED = 2

Tile is loaded but not yet displayed

DONE = 3

Tile loading finished. Also used to inform map sources that tile loading has been cancelled.

class Champlain.Unit(value)

Bases: GObject.GEnum

Units used by the scale.

KM = 0

kilometers

MILES = 1

miles