A layer that can visualize images from the OpenStreetMap servers. More...
Public Functions Reimplemented Public Functions Detailed DescriptionOpenStreetMap (OSM) is a project to create a free, publicly editable map of the world. This layer displays map content from OpenStreetMap.
An OpenStreetMapLayer is a preconfigured WebTiledLayer. But unlike a web tiled layer, it comes with predefined attribution and does not support identify, query, selection, or time. Performance of OSM layers is similar to web tiled layer performance. Raster tiles are read from the service as needed by the map.
Use of OpenStreetMap's tiles is subject to their tile usage policy. Consider the following before using an OpenStreetMap layer in your app:
Relevant samples:
See also Layer.
Member Function Documentation[explicit]
OpenStreetMapLayer::OpenStreetMapLayer(QObject *parent = nullptr)
Creates an OpenStreetMap layer from the default OpenStreetMap servers.
[override virtual noexcept]
OpenStreetMapLayer::~OpenStreetMapLayer()
Destructor.
[override virtual]
void OpenStreetMapLayer::setAttribution(const QString &attribution)
Reimplements: ImageTiledLayer::setAttribution(const QString &attribution).
The attribution for OpenStreetMapLayer may not be changed.
This function is disabled for OpenStreetMapLayer. Calling this will output a warning on the console and the function has no effect.
attribution is ignored.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4