GritsMarker

GritsMarker — Single point markers

Synopsis

struct              GritsMarker;
struct              GritsMarkerClass;
GritsMarker *       grits_marker_new                    (const gchar *label);

Object Hierarchy

  GObject
   +----GritsObject
         +----GritsMarker

Description

Each GritsMarker represents some point on the earth with some form of content. Commonly this is used to mark geographic features such as cities or states.

While markers represent a place in three dimensions somewhere on, below, or above the surface of the earth, they are drawn in 2 dimensions so that they look normal and readable by the user. Due to this, GritsObjects should almost always be added to the GRITS_LEVEL_OVERLAY level so they are drawn "above" the actual earth.

Details

struct GritsMarker

struct GritsMarker;


struct GritsMarkerClass

struct GritsMarkerClass {
	GritsObjectClass parent_class;
};


grits_marker_new ()

GritsMarker *       grits_marker_new                    (const gchar *label);

Create a new GritsMarker which shows the given label when drawn.

label :

a short description of the marker

Returns :

the new GritsMarker.