VikTmsMapSource

VikTmsMapSource — the class for TMS oriented map sources

Functions

Properties

gboolean check-file-server-time Read / Write / Construct Only
char * custom-http-headers Read / Write / Construct Only
glong follow-location Read / Write / Construct Only
char * hostname Read / Write / Construct Only
double lat-max Read / Write / Construct Only
double lat-min Read / Write / Construct Only
double lon-max Read / Write / Construct Only
double lon-min Read / Write / Construct Only
char * referer Read / Write / Construct Only
char * url Read / Write / Construct Only
guint zoom-max Read / Write / Construct Only
guint zoom-min Read / Write / Construct Only

Object Hierarchy

    GObject
    ╰── VikMapSource
        ╰── VikMapSourceDefault
            ╰── VikTmsMapSource

Description

The VikTmsMapSource class handles TMS oriented map sources.

The tiles are in 'equirectangular'. http://en.wikipedia.org/wiki/Equirectangular_projection

Such service is also a type of TMS (Tile Map Service) as defined in OSGeo's wiki. http://wiki.osgeo.org/wiki/Tile_Map_Service_Specification Following this specification, the protocol handled by this class follows the global-geodetic profile.

Functions

vik_tms_map_source_new_with_id ()

VikTmsMapSource *
vik_tms_map_source_new_with_id (guint16 id,
                                const gchar *label,
                                const gchar *hostname,
                                const gchar *url);

Property Details

The “check-file-server-time” property

  “check-file-server-time”   gboolean

Age of current cache before redownloading tile.

Owner: VikTmsMapSource

Flags: Read / Write / Construct Only

Default value: FALSE


The “custom-http-headers” property

  “custom-http-headers”      char *

Owner: VikTmsMapSource

Flags: Read / Write / Construct Only

Default value: NULL


The “follow-location” property

  “follow-location”          glong

Specifies the number of retries to follow a redirect while downloading a page.

Owner: VikTmsMapSource

Flags: Read / Write / Construct Only

Allowed values: >= -1

Default value: 0


The “hostname” property

  “hostname”                 char *

The hostname of the map server.

Owner: VikTmsMapSource

Flags: Read / Write / Construct Only

Default value: "<no-set>"


The “lat-max” property

  “lat-max”                  double

Maximum latitude in degrees supported by the map provider.

Owner: VikTmsMapSource

Flags: Read / Write / Construct Only

Allowed values: [-90,90]

Default value: 90


The “lat-min” property

  “lat-min”                  double

Minimum latitude in degrees supported by the map provider.

Owner: VikTmsMapSource

Flags: Read / Write / Construct Only

Allowed values: [-90,90]

Default value: -90


The “lon-max” property

  “lon-max”                  double

Maximum longitude in degrees supported by the map provider.

Owner: VikTmsMapSource

Flags: Read / Write / Construct Only

Allowed values: [-180,180]

Default value: 180


The “lon-min” property

  “lon-min”                  double

Minimum longitude in degrees supported by the map provider.

Owner: VikTmsMapSource

Flags: Read / Write / Construct Only

Allowed values: [-180,180]

Default value: -180


The “referer” property

  “referer”                  char *

The REFERER string to use in HTTP request.

Owner: VikTmsMapSource

Flags: Read / Write / Construct Only

Default value: NULL


The “url” property

  “url”                      char *

The template of the tiles' URL.

Owner: VikTmsMapSource

Flags: Read / Write / Construct Only

Default value: "<no-set>"


The “zoom-max” property

  “zoom-max”                 guint

Maximum Zoom level supported by the map provider.

Owner: VikTmsMapSource

Flags: Read / Write / Construct Only

Allowed values: <= 22

Default value: 18


The “zoom-min” property

  “zoom-min”                 guint

Minimum Zoom level supported by the map provider.

Owner: VikTmsMapSource

Flags: Read / Write / Construct Only

Allowed values: <= 22

Default value: 0