VikMapSourceDefault

VikMapSourceDefault — the base class implementing most of generic features

Functions

Properties

gchar * copyright Read / Write
VikViewportDrawMode drawmode Read / Write
gchar * file-extension Read / Write / Construct Only
guint id Read / Write / Construct Only
gchar * label Read / Write / Construct Only
gchar * license Read / Write / Construct Only
gchar * license-url Read / Write / Construct Only
gchar * name Read / Write / Construct Only
guint tilesize-x Read / Write
guint tilesize-y Read / Write

Object Hierarchy

    GObject
    ╰── VikMapSource
        ╰── VikMapSourceDefault
            ├── VikSlippyMapSource
            ├── VikTmsMapSource
            ╰── VikWmscMapSource

Description

The VikMapSourceDefault class is the base class implementing most of generic feature, using properties or reducing complexity of some functions.

Functions

vik_map_source_default_get_uri ()

gchar *
vik_map_source_default_get_uri (VikMapSourceDefault *self,
                                MapCoord *src);

vik_map_source_default_get_hostname ()

gchar *
vik_map_source_default_get_hostname (VikMapSourceDefault *self);

vik_map_source_default_get_download_options ()

DownloadMapOptions *
vik_map_source_default_get_download_options
                               (VikMapSourceDefault *self);

Types and Values

Property Details

The “copyright” property

  “copyright”                gchar *

The copyright of the map source.

Flags: Read / Write

Default value: NULL


The “drawmode” property

  “drawmode”                 VikViewportDrawMode

The mode used to draw map.

Flags: Read / Write

Default value: VIK_VIEWPORT_DRAWMODE_UTM


The “file-extension” property

  “file-extension”           gchar *

The file extension of tile files on disk.

Flags: Read / Write / Construct Only

Default value: ".png"


The “id” property

  “id”                       guint

Set the id.

Flags: Read / Write / Construct Only

Default value: 0


The “label” property

  “label”                    gchar *

The label of the map source.

Flags: Read / Write / Construct Only

Default value: "<no-set>"


The “license” property

  “license”                  gchar *

The license of the map source.

Flags: Read / Write / Construct Only

Default value: NULL


The “license-url” property

  “license-url”              gchar *

The URL of the license of the map source.

Flags: Read / Write / Construct Only

Default value: NULL


The “name” property

  “name”                     gchar *

The name of the map that may be used as the file cache directory.

Flags: Read / Write / Construct Only

Default value: "Unknown"


The “tilesize-x” property

  “tilesize-x”               guint

Set the size of the tile (x).

Flags: Read / Write

Allowed values: <= 65535

Default value: 0


The “tilesize-y” property

  “tilesize-y”               guint

Set the size of the tile (y).

Flags: Read / Write

Allowed values: <= 65535

Default value: 0