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. |
| Coordinate |
A simple object implementing |
| DataSource |
The base class used to retrieve tiles as |
| FileCache |
A cache that stores and retrieves tiles from the file system. It is mainly
used by |
| Layer |
Every layer (overlay that moves together with the map) has to inherit this class and implement its virtual methods. |
| License |
A widget that displays license text. |
| Map |
The Map widget is a |
| MapLayer |
A |
| MapSource |
The base class for all map sources. Map sources fill |
| MapSourceRegistry |
This object allows you to hold |
| Marker |
Markers represent points of interest on a map. Markers need to be
placed on a layer (a |
| MarkerLayer |
Displays markers on the map. It is responsible for positioning markers correctly, marker selections and group marker operations. |
| PathLayer |
A layer displaying line path between inserted |
| Point |
A simple variant of |
| RasterRenderer | |
| Scale |
A widget displaying a scale. |
| SimpleMap |
A ready-to-use map |
| Tile |
An object that represents map tiles. Tiles are loaded by a |
| TileDownloader |
A |
| VectorRenderer |
A |
| Viewport |
The object holding the coordinate, zoom-level, and rotation state of the current view. |
Interfaces
| Location |
An interface common to objects having latitude and longitude. |
Enumerations
| MapProjection |
Projections supported by the library. |
| State |
Tile loading state. |
| Unit |
Units used by the scale. |
Error Domains
| FileCacheError |
Error codes in the #SHUMATE_FILE_CACHE_ERROR domain. |
| StyleError |
Error codes that occurs while parsing the style in |
| TileDownloaderError |
Error codes in the #SHUMATE_TILE_DOWNLOADER_ERROR domain. |
Functions
| get_user_agent |
Gets the user agent libshumate will use for all requests. |
| set_user_agent |
Sets the user agent that libshumate uses for all requests. |
Function Macros
| CHECK_VERSION |
Returns |
Constants
| MAJOR_VERSION |
The major version of libshumate (1, if |
| MAP_SOURCE_MFF_RELIEF |
Maps for Free Relief. |
| MAP_SOURCE_OSM_CYCLE_MAP |
OpenStreetMap Cycle Map. |
| MAP_SOURCE_OSM_MAPNIK |
OpenStreetMap Mapnik. |
| MAP_SOURCE_OSM_TRANSPORT_MAP |
OpenStreetMap Transport Map. |
| MAP_SOURCE_OWM_CLOUDS |
OpenWeatherMap clouds layer. |
| MAP_SOURCE_OWM_PRECIPITATION |
OpenWeatherMap precipitation. |
| MAP_SOURCE_OWM_PRESSURE |
OpenWeatherMap sea level pressure. |
| MAP_SOURCE_OWM_TEMPERATURE |
OpenWeatherMap temperature. |
| MAP_SOURCE_OWM_WIND |
OpenWeatherMap wind. |
| MAX_LATITUDE |
The maximal possible latitude value. |
| MAX_LONGITUDE |
The maximal possible longitude value. |
| MICRO_VERSION |
The micro version of libshumate (3, if |
| MIN_LATITUDE |
The minimal possible latitude value. |
| MIN_LONGITUDE |
The minimal possible longitude value. |
| MINOR_VERSION |
The minor version of libshumate (2, if |