X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/90f15672ad2318d418dd6af4764dafdd168e67cd..7ee554493260f2233d5984527188850a5404984f:/src/viktmsmapsource.c diff --git a/src/viktmsmapsource.c b/src/viktmsmapsource.c index fc5a5770..69d510ae 100644 --- a/src/viktmsmapsource.c +++ b/src/viktmsmapsource.c @@ -16,6 +16,22 @@ * You should have received a copy of the GNU General Public License along * with this program. If not, see . */ + + /** + * SECTION:viktmsmapsource + * @short_description: the class for TMS oriented map sources + * + * 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. + */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -179,7 +195,7 @@ static void vik_tms_map_source_class_init (VikTmsMapSourceClass *klass) { GObjectClass* object_class = G_OBJECT_CLASS (klass); - VikMapSourceClass* granparent_class = VIK_MAP_SOURCE_CLASS (klass); + VikMapSourceClass* grandparent_class = VIK_MAP_SOURCE_CLASS (klass); VikMapSourceDefaultClass* parent_class = VIK_MAP_SOURCE_DEFAULT_CLASS (klass); GParamSpec *pspec = NULL; @@ -187,9 +203,9 @@ vik_tms_map_source_class_init (VikTmsMapSourceClass *klass) object_class->get_property = vik_tms_map_source_get_property; /* Overiding methods */ - granparent_class->coord_to_mapcoord = _coord_to_mapcoord; - granparent_class->mapcoord_to_center_coord = _mapcoord_to_center_coord; - granparent_class->supports_download_only_new = _supports_download_only_new; + grandparent_class->coord_to_mapcoord = _coord_to_mapcoord; + grandparent_class->mapcoord_to_center_coord = _mapcoord_to_center_coord; + grandparent_class->supports_download_only_new = _supports_download_only_new; parent_class->get_uri = _get_uri; parent_class->get_hostname = _get_hostname;