• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • Marble
  • Tile
Public Member Functions | List of all members
Marble::Tile Class Reference

#include <Tile.h>

Inheritance diagram for Marble::Tile:
Inheritance graph
[legend]

Public Member Functions

 Tile (TileId const &tileId)
 
virtual ~Tile ()
 
TileId const & id () const
 

Detailed Description

A class that resembles a tile (then it is extended to TextureTile or Vectortile).

A tile provides a bitmap image or vector data for a certain (geographic) area and for a given zoom level. Each Tile can be identified via a unique TileId.

A stack of Tiles that cover the same area and the same zoom level can be stored (and painted) layer by layer in a StackedTile object. For this purpose each Texture Tile specifies a blending type.

Usually the tiles are organized in so called quad tiles: This means that with increasing zoom level four other tiles cover the same area as a single "parent" tile in the previous zoom level. These four tiles have the same pixel size as the "parent" tile.

The process of "filling the tile with data is done in stages: The State describes the current progress of loading the data (Empty, Scaled, Expired, StateUptodate).

The life time cycle of a Tile can also be influenced by its expiration time which will trigger a reload of the tile data.

Definition at line 53 of file Tile.h.

Constructor & Destructor Documentation

Marble::Tile::Tile ( TileId const &  tileId)
explicit

Definition at line 29 of file Tile.cpp.

Marble::Tile::~Tile ( )
virtual

Definition at line 34 of file Tile.cpp.

Member Function Documentation

TileId const & Marble::Tile::id ( ) const
inline

Returns a unique ID for the tile.

Returns
A TileId object that encodes zoom level, position and map theme.

Definition at line 74 of file Tile.h.


The documentation for this class was generated from the following files:
  • Tile.h
  • Tile.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal