Top |
GObject ╰── GInitiallyUnowned ╰── ClutterActor ╰── ChamplainLayer ├── ChamplainMarkerLayer ╰── ChamplainPathLayer
ChamplainLayer implements ClutterContainer, ClutterScriptable, ClutterAnimatable and AtkImplementorIface.
Every layer (overlay that moves together with the map) has to inherit this class and implement its virtual methods.
void champlain_layer_set_view (ChamplainLayer *layer
,ChamplainView *view
);
ChamplainView calls this method to pass a reference to itself to the layer
when the layer is added to the view. When the layer is removed from the
view, it passes NULL
to the layer. Custom layers can implement this method
and perform the necessary initialization. This method should not be called
by user code.
Since: 0.10
ChamplainBoundingBox *
champlain_layer_get_bounding_box (ChamplainLayer *layer
);
Gets the bounding box occupied by the elements inside the layer.
Since: 0.10
struct ChamplainLayer;
The ChamplainLayer structure contains only private data and should be accessed using the provided API
Since: 0.10