| Top |
| gboolean | check-file-server-time | Read / Write / Construct Only |
| glong | follow-location | Read / Write / Construct Only |
| gchar * | hostname | Read / Write |
| gboolean | is-mbtiles | Read / Write / Construct Only |
| gboolean | is-osm-meta-tiles | Read / Write / Construct Only |
| gdouble | lat-max | Read / Write / Construct Only |
| gdouble | lat-min | Read / Write / Construct Only |
| gdouble | lon-max | Read / Write / Construct Only |
| gdouble | lon-min | Read / Write / Construct Only |
| gchar * | referer | Read / Write / Construct Only |
| gboolean | switch-xy | Read / Write / Construct Only |
| gchar * | 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.
Flags: Read / Write / Construct Only
Default value: FALSE
“follow-location” property“follow-location” glong
Specifies the number of retries to follow a redirect while downloading a page.
Flags: Read / Write / Construct Only
Allowed values: >= 0
Default value: 0
“hostname” property“hostname” gchar *
The hostname of the map server.
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.
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.
Flags: Read / Write / Construct Only
Default value: FALSE
“lat-max” property“lat-max” gdouble
Maximum latitude in degrees supported by the map provider.
Flags: Read / Write / Construct Only
Allowed values: [-90,90]
Default value: 90
“lat-min” property“lat-min” gdouble
Minimum latitude in degrees supported by the map provider.
Flags: Read / Write / Construct Only
Allowed values: [-90,90]
Default value: -90
“lon-max” property“lon-max” gdouble
Maximum longitude in degrees supported by the map provider.
Flags: Read / Write / Construct Only
Allowed values: [-180,180]
Default value: 180
“lon-min” property“lon-min” gdouble
Minimum longitude in degrees supported by the map provider.
Flags: Read / Write / Construct Only
Allowed values: [-180,180]
Default value: -180
“referer” property“referer” gchar *
The REFERER string to use in HTTP request.
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.
Flags: Read / Write / Construct Only
Default value: FALSE
“url” property“url” gchar *
The template of the tiles' URL.
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.
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.
Flags: Read / Write / Construct Only
Default value: FALSE
“zoom-max” property“zoom-max” guint
Maximum Zoom level supported by the map provider.
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.
Flags: Read / Write / Construct Only
Allowed values: <= 22
Default value: 0