Namespace
Shumate – 1.0
GTK4 widget to display maps
Dependencies
GObject—2.0 | The base type system library |
Browse documentation |
Classes
Compass |
A widget displaying a compass. since: 1.0 |
Coordinate |
A simple object implementing since: 1.0 |
DataSource |
The base class used to retrieve tiles as since: 1.0 |
DataSourceRequest |
Represents a request to a since: 1.1 |
FileCache |
A cache that stores and retrieves tiles from the file system. It is mainly
used by since: 1.0 |
Layer |
Every layer (overlay that moves together with the map) has to inherit this class and implement its virtual methods. since: 1.0 |
License |
A widget that displays license text. since: 1.0 |
Map |
The Map widget is a since: 1.0 |
MapLayer |
A since: 1.0 |
MapSource |
The base class for all map sources. Map sources fill since: 1.0 |
MapSourceRegistry |
This object allows you to hold since: 1.0 |
Marker |
Markers represent points of interest on a map. Markers need to be
placed on a layer (a since: 1.0 |
MarkerLayer |
Displays markers on the map. It is responsible for positioning markers correctly, marker selections and group marker operations. since: 1.0 |
PathLayer |
A layer displaying line path between inserted since: 1.0 |
Point |
A simple variant of since: 1.0 |
RasterRenderer |
since: 1.0 |
Scale |
A widget displaying a scale. since: 1.0 |
SimpleMap |
A ready-to-use map since: 1.0 |
SymbolEvent |
An object containing the details of a map feature that has been clicked.
It is the argument of the since: 1.1 |
Tile |
An object that represents map tiles. Tiles are loaded by a since: 1.0 |
TileDownloader |
A since: 1.0 |
VectorReader |
Provides low-level access to the contents of a vector tile. unstable since: 1.2 |
VectorReaderIter |
Reads the layers and features of a vector tile. unstable since: 1.2 |
VectorRenderer |
A since: 1.0 |
VectorSprite |
A sprite used to draw textures or icons. since: 1.1 |
VectorSpriteSheet |
A collection of since: 1.1 |
Viewport |
The object holding the coordinate, zoom-level, and rotation state of the current view. since: 1.0 |
Interfaces
Location |
An interface common to objects having latitude and longitude. since: 1.0 |
Enumerations
GeometryType |
A type of geometry. unstable since: 1.2 |
MapProjection |
Projections supported by the library. since: 1.0 |
State |
Tile loading state. since: 1.0 |
Unit |
Units used by the scale. since: 1.0 |
Error Domains
FileCacheError |
Error codes in the #SHUMATE_FILE_CACHE_ERROR domain. since: 1.0 |
StyleError |
Error codes that occurs while parsing the style in since: 1.0 |
TileDownloaderError |
Error codes in the #SHUMATE_TILE_DOWNLOADER_ERROR domain. since: 1.0 |
Callbacks
VectorSpriteFallbackFunc |
A function to generate sprites for a since: 1.1 |
Functions
get_user_agent |
Gets the user agent libshumate will use for all requests. since: 1.0 |
set_user_agent |
Sets the user agent that libshumate uses for all requests. since: 1.0 |
Function Macros
CHECK_VERSION |
Returns since: 1.0 |
Constants
MAJOR_VERSION |
The major version of libshumate (1, if since: 1.0 |
MAP_SOURCE_MFF_RELIEF |
Maps for Free Relief. since: 1.0 |
MAP_SOURCE_OSM_CYCLE_MAP |
OpenStreetMap Cycle Map. since: 1.0 |
MAP_SOURCE_OSM_MAPNIK |
OpenStreetMap Mapnik. since: 1.0 |
MAP_SOURCE_OSM_TRANSPORT_MAP |
OpenStreetMap Transport Map. since: 1.0 |
MAP_SOURCE_OWM_CLOUDS |
OpenWeatherMap clouds layer. since: 1.0 |
MAP_SOURCE_OWM_PRECIPITATION |
OpenWeatherMap precipitation. since: 1.0 |
MAP_SOURCE_OWM_PRESSURE |
OpenWeatherMap sea level pressure. since: 1.0 |
MAP_SOURCE_OWM_TEMPERATURE |
OpenWeatherMap temperature. since: 1.0 |
MAP_SOURCE_OWM_WIND |
OpenWeatherMap wind. since: 1.0 |
MAX_LATITUDE |
The maximal possible latitude value. since: 1.0 |
MAX_LONGITUDE |
The maximal possible longitude value. since: 1.0 |
MIN_LATITUDE |
The minimal possible latitude value. since: 1.0 |
MIN_LONGITUDE |
The minimal possible longitude value. since: 1.0 |
MINOR_VERSION |
The minor version of libshumate (2, if since: 1.0 |