ChamplainMapDataSource

ChamplainMapDataSource — Base class for map data sources

Synopsis

                    ChamplainMapDataSource;
MemphisMap *        champlain_map_data_source_get_map_data
                                                        (ChamplainMapDataSource *data_source);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----ChamplainMapDataSource
               +----ChamplainLocalMapDataSource
               +----ChamplainNetworkMapDataSource

Properties

  "bounding-box"             ChamplainBoundingBox*  : Read / Write
  "state"                    ChamplainState        : Read / Write

Description

ChamplainMapDataSource provides the interface for ChamplainMemphisTileSource to aquire map data.

Details

ChamplainMapDataSource

typedef struct _ChamplainMapDataSource ChamplainMapDataSource;


champlain_map_data_source_get_map_data ()

MemphisMap *        champlain_map_data_source_get_map_data
                                                        (ChamplainMapDataSource *data_source);

Gets the MemphisMap of the data source.

data_source :

a ChamplainMapDataSource

Returns :

the MemphisMap of the data source or NULL.

Since 0.6

Property Details

The "bounding-box" property

  "bounding-box"             ChamplainBoundingBox*  : Read / Write

The bounding box of the area that contains map data.

Since 0.6


The "state" property

  "state"                    ChamplainState        : Read / Write

The map data source's state. Useful to know if the data source is loading or not.

Default value: CHAMPLAIN_STATE_NONE

Since 0.6