Top | ![]() |
![]() |
![]() |
![]() |
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 |
gboolean | is-mbtiles | Read / Write / Construct Only |
gboolean | is-osm-meta-tiles | 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 |
gboolean | switch-xy | Read / Write / Construct Only |
char * | url | Read / Write |
gboolean | use-direct-file-access | Read / Write / Construct Only |
gboolean | use-etag | Read / Write / Construct Only |
guint | zoom-max | Read / Write / Construct Only |
guint | zoom-min | Read / Write / Construct Only |
GObject ╰── VikMapSource ╰── VikMapSourceDefault ╰── VikSlippyMapSource ╰── BingMapSource
The VikSlippyMapSource class handles slippy map oriented map sources. The related service is tile oriented, à la Google.
The tiles are in 'google spherical mercator', which is basically a mercator projection that assumes a spherical earth. http://docs.openlayers.org/library/spherical_mercator.html
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 But take care that the Y axis is inverted, ie the origin is at top-left corner. Following this specification, the protocol handled by this class follows the global-mercator profile.
You can also find many interesting information on the OSM's wiki. http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames http://wiki.openstreetmap.org/wiki/Setting_up_TMS
VikSlippyMapSource * vik_slippy_map_source_new_with_id (guint16 id
,const gchar *label
,const gchar *hostname
,const gchar *url
);
“check-file-server-time”
property“check-file-server-time” gboolean
Age of current cache before redownloading tile.
Owner: VikSlippyMapSource
Flags: Read / Write / Construct Only
Default value: FALSE
“custom-http-headers”
property “custom-http-headers” char *
Owner: VikSlippyMapSource
Flags: Read / Write / Construct Only
Default value: NULL
“follow-location”
property“follow-location” glong
Specifies the number of retries to follow a redirect while downloading a page.
Owner: VikSlippyMapSource
Flags: Read / Write / Construct Only
Allowed values: >= -1
Default value: 0
“hostname”
property “hostname” char *
The hostname of the map server.
Owner: VikSlippyMapSource
Flags: Read / Write
Default value: "<no-set>"
“is-mbtiles”
property“is-mbtiles” gboolean
Use an SQL MBTiles File for the tileset - no need for a webservice.
Owner: VikSlippyMapSource
Flags: Read / Write / Construct Only
Default value: FALSE
“is-osm-meta-tiles”
property“is-osm-meta-tiles” gboolean
Read from OSM Meta Tiles - Should be 'use-direct-file-access' as well.
Owner: VikSlippyMapSource
Flags: Read / Write / Construct Only
Default value: FALSE
“lat-max”
property “lat-max” double
Maximum latitude in degrees supported by the map provider.
Owner: VikSlippyMapSource
Flags: Read / Write / Construct Only
Allowed values: [-90,90]
Default value: 90
“lat-min”
property “lat-min” double
Minimum latitude in degrees supported by the map provider.
Owner: VikSlippyMapSource
Flags: Read / Write / Construct Only
Allowed values: [-90,90]
Default value: -90
“lon-max”
property “lon-max” double
Maximum longitude in degrees supported by the map provider.
Owner: VikSlippyMapSource
Flags: Read / Write / Construct Only
Allowed values: [-180,180]
Default value: 180
“lon-min”
property “lon-min” double
Minimum longitude in degrees supported by the map provider.
Owner: VikSlippyMapSource
Flags: Read / Write / Construct Only
Allowed values: [-180,180]
Default value: -180
“referer”
property “referer” char *
The REFERER string to use in HTTP request.
Owner: VikSlippyMapSource
Flags: Read / Write / Construct Only
Default value: NULL
“switch-xy”
property“switch-xy” gboolean
Switch the order of x,y components in the URL (such as used by ARCGIS Tile Server.
Owner: VikSlippyMapSource
Flags: Read / Write / Construct Only
Default value: FALSE
“url”
property “url” char *
The template of the tiles' URL.
Owner: VikSlippyMapSource
Flags: Read / Write
Default value: "<no-set>"
“use-direct-file-access”
property“use-direct-file-access” gboolean
Use direct file access to OSM like tile images - no need for a webservice.
Owner: VikSlippyMapSource
Flags: Read / Write / Construct Only
Default value: FALSE
“use-etag”
property“use-etag” gboolean
Store etag in a file, and send it to server to check if we have the latest file.
Owner: VikSlippyMapSource
Flags: Read / Write / Construct Only
Default value: FALSE
“zoom-max”
property“zoom-max” guint
Maximum Zoom level supported by the map provider.
Owner: VikSlippyMapSource
Flags: Read / Write / Construct Only
Allowed values: <= 22
Default value: 18
“zoom-min”
property“zoom-min” guint
Minimum Zoom level supported by the map provider.
Owner: VikSlippyMapSource
Flags: Read / Write / Construct Only
Allowed values: <= 22
Default value: 0