|
libosmscout 0.1
|
Classes for integration osmscout library with Qt framework. More...
Classes | |
| struct | osmscout::AccumulatorEvent |
| class | osmscout::AvailableMapsModel |
| Tree model with maps available by configured providers (see Settings::GetMapProviders). More... | |
| class | osmscout::AvailableMapsModelDir |
| Model item representing directory in AvailableMapsModel. More... | |
| class | osmscout::AvailableMapsModelItem |
| Abstract model item used in AvailableMapsModel. More... | |
| class | osmscout::AvailableMapsModelMap |
| Model item representing map in AvailableMapsModel. More... | |
| class | osmscout::AvailableVoicesModel |
| List model with voices available by configured providers (see Settings::GetVoiceProviders). More... | |
| class | osmscout::DBLoadJob |
| class | osmscout::DBRenderJob |
| class | osmscout::DragHandler |
| InputHandler with support of dragg gesture. More... | |
| class | osmscout::ElevationModule |
| struct | osmscout::FixedPixelRatio |
| class | osmscout::FreeTextSearchRunnable |
| class | osmscout::IconLookup |
| class | osmscout::InputHandler |
| Input handler retrieve all inputs from user and may change MapView (emits viewChange signal). More... | |
| class | osmscout::InstalledMapsModel |
| Model providing access to currently installed maps on device. More... | |
| class | osmscout::InstalledVoicesModel |
| Model providing access to currently installed voices on device. More... | |
| class | osmscout::JumpHandler |
| Input handler that animates jumps to target map view. More... | |
| class | osmscout::LocationEntry |
| Qt abstraction for various objects on map, used for search and routing. More... | |
| class | osmscout::LocationInfoModel |
| class | osmscout::LocationListModel |
| Model for searching objects in osmscout databases by pattern written by human. More... | |
| class | osmscout::LockHandler |
| Input handler that locks map view to current position. More... | |
| class | osmscout::LookupModule |
| class | osmscout::MapDownloader |
| Manager of map databases. More... | |
| class | osmscout::MapDownloadJob |
| Utility class for downloading map db described by AvailableMapsModelMap over http. More... | |
| class | osmscout::MapDownloadsModel |
| QML list model with currently downloaded maps. More... | |
| struct | osmscout::MapIcon |
| class | osmscout::MapObjectInfoModel |
| class | osmscout::MapOverlay |
| class | osmscout::MapRenderer |
| class | osmscout::MapStyleModel |
| class | osmscout::MapView |
| Object thats carry information about view center, angle and magnification. More... | |
| class | osmscout::MapWidget |
| Qt Quick widget for displaying map. More... | |
| class | osmscout::MoveAccumulator |
| Helper class that accumulates move (touch events) within some time period (time defined FIFO queue). More... | |
| class | osmscout::MoveHandler |
| Handler with support of simple moves and zoom. More... | |
| class | osmscout::MultitouchHandler |
| InputHandler with support of multitouch input. More... | |
| class | osmscout::NavigationModel |
| Model providing navigation functionality to QML. More... | |
| class | osmscout::NavigationModule |
| class | osmscout::NearPOIModel |
| struct | osmscout::ObjectKey |
| class | osmscout::OnlineTileProviderModel |
| Provide Qt model with loaded online tile providers (see Settings::loadOnlineTileProviders). More... | |
| class | osmscout::OpeningHoursModel |
| QML Component for parsing OSM opening hours. More... | |
| class | osmscout::OSMScoutQt |
| Singleton that provides access to high level modules of OSMScout library. More... | |
| class | osmscout::OSMScoutQtBuilder |
| class | osmscout::OsmTileDownloader |
| class | osmscout::OverlayObject |
| Qt abstraction for various objects on map, used for search and routing. More... | |
| class | osmscout::QmlRoutingProfile |
| Routing profile. More... | |
| class | osmscout::QmlSettings |
| Provides interface to Settings object from QML. More... | |
| class | osmscout::QtRouteData |
| Representation of computed route. More... | |
| struct | osmscout::RequestState |
| class | osmscout::RouteDescriptionBuilder |
| class | osmscout::Router |
| class | osmscout::RouteStep |
| Human representation of route step commands. More... | |
| class | osmscout::RoutingListModel |
| struct | osmscout::ScreenPixelRatio |
| class | osmscout::SearchLocationsRunnable |
| class | osmscout::SearchModule |
| class | osmscout::SearchRunnable |
| class | osmscout::StyleFlagsModel |
| class | osmscout::StyleModule |
| class | osmscout::SunriseSunset |
| QML Component for computing today's sunrise / sunset time for specific place on Earth. More... | |
| class | osmscout::TapRecognizer |
| Simple class for recognizing some basic gestures: tap, double tap, long-tap and tap-and-hold. More... | |
| class | osmscout::TileCache |
| Cache have to be locked by its mutex() while access. More... | |
| struct | osmscout::TileCacheKey |
| The key type of a QMap must provide operator<() More... | |
| struct | osmscout::TileCacheVal |
| class | osmscout::TiledMapOverlay |
| class | osmscout::TileLoaderThread |
| class | osmscout::VehicleFollowHandler |
| Input handler that follow vehicle. More... | |
| class | osmscout::VehiclePosition |
| Object aggregating estimated data about vehicle during navigation. More... | |
| class | osmscout::Voice |
| Holder for voice metadata. More... | |
| class | osmscout::VoiceCorePlayer |
| Provides the default voice player. More... | |
| class | osmscout::VoiceDownloadJob |
| Utility class for downloading voice described by AvailableVoice over http. More... | |
| class | osmscout::VoiceManager |
| Manager of voices for navigation commands. More... | |
| class | osmscout::VoicePlayer |
| Defines the abstract interface for the voice player. More... | |
| class | osmscout::ZoomGestureHandler |
| Handler for zoom gesture with one finger, activated by tap and press usually. More... | |
Typedefs | |
| using | osmscout::IconLookupRef = std::shared_ptr< IconLookup > |
| typedef std::shared_ptr< LookupModule > | osmscout::LookupModuleRef |
| using | osmscout::MapDownloaderRef = std::shared_ptr< MapDownloader > |
| using | osmscout::OSMScoutQtBuilderRef = std::shared_ptr< OSMScoutQtBuilder > |
| using | osmscout::PixelRatioSetup = std::variant< FixedPixelRatio, ScreenPixelRatio > |
| Pixel ratio configuration for HiDPI display. | |
| using | osmscout::StyleModuleRef = std::shared_ptr< StyleModule > |
| using | osmscout::VoiceManagerRef = std::shared_ptr< VoiceManager > |
Enumerations | |
| enum class | osmscout::GLPowerOfTwoTexture { osmscout::GLPowerOfTwoTexture::NoScaling = 0 , osmscout::GLPowerOfTwoTexture::Upscaling = 1 , osmscout::GLPowerOfTwoTexture::Downscaling = 2 , osmscout::GLPowerOfTwoTexture::Nearest = 3 } |
| Older/mobile OpenGL (without GL_ARB_texture_non_power_of_two) requires textures with size of power of two. More... | |
| enum | osmscout::RenderingType { osmscout::PlaneRendering = 0 , osmscout::TiledRendering = 1 } |
Variables | |
| static const double | osmscout::GRAD_TO_RAD = 2 * M_PI / 360 |
| Util class with function useful for work with OSM tiles (mercator projection) as defined here: http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames. | |
Classes for integration osmscout library with Qt framework.
| using osmscout::IconLookupRef = typedef std::shared_ptr<IconLookup> |
| typedef std::shared_ptr<LookupModule> osmscout::LookupModuleRef |
| using osmscout::MapDownloaderRef = typedef std::shared_ptr<MapDownloader> |
| using osmscout::OSMScoutQtBuilderRef = typedef std::shared_ptr<OSMScoutQtBuilder> |
| using osmscout::PixelRatioSetup = typedef std::variant<FixedPixelRatio, ScreenPixelRatio> |
Pixel ratio configuration for HiDPI display.
It may either follow screen pixel ratio or used fixed ratio value.
| using osmscout::StyleModuleRef = typedef std::shared_ptr<StyleModule> |
| using osmscout::VoiceManagerRef = typedef std::shared_ptr<VoiceManager> |
|
strong |
Older/mobile OpenGL (without GL_ARB_texture_non_power_of_two) requires textures with size of power of two.
To be able upload texture to GPU without rescaling in QOpenGLTextureCache::bindTexture, we may scale tiles to proper size.
This enum control how to do it.
| Enumerator | |
|---|---|
| NoScaling | |
| Upscaling | |
| Downscaling | |
| Nearest | |
|
static |
Util class with function useful for work with OSM tiles (mercator projection) as defined here: http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames.
Content of OMS wiki can be distributed under terms of
Creative Commons Attribution-ShareAlike 2.0 license http://wiki.openstreetmap.org/wiki/Wiki_content_license
I am not sure if these one-line code samples can use...?
Referenced by osmscout::TiledRenderingHelper::RenderTiles().