]> git.street.me.uk Git - andy/viking.git/blobdiff - src/viktmsmapsource.c
Fix sensitivity of the track properties window split marker to be disabled when the...
[andy/viking.git] / src / viktmsmapsource.c
index fc5a5770ab70bbd250f8f35564bd1a50a1c840e5..69d510aeb629b2bd6803ba1fcdf2ec8579eec377 100644 (file)
  * You should have received a copy of the GNU General Public License along
  * with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
+
+ /**
+  * 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;