Use KDE's map config
This commit is contained in:
@@ -39,6 +39,14 @@ ApplicationWindow {
|
|||||||
zoomLevel: 15
|
zoomLevel: 15
|
||||||
plugin: Plugin {
|
plugin: Plugin {
|
||||||
name: "osm"
|
name: "osm"
|
||||||
|
PluginParameter {
|
||||||
|
name: "osm.useragent"
|
||||||
|
value: Application.name + "/" + Application.version + " (kde-devel@kde.org)"
|
||||||
|
}
|
||||||
|
PluginParameter {
|
||||||
|
name: "osm.mapping.providersrepository.address"
|
||||||
|
value: "https://autoconfig.kde.org/qtlocation/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
MapCircle {
|
MapCircle {
|
||||||
radius: 1500 / map.zoomLevel
|
radius: 1500 / map.zoomLevel
|
||||||
|
|||||||
@@ -23,6 +23,14 @@ Kirigami.Page {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
plugin: Plugin {
|
plugin: Plugin {
|
||||||
name: "osm"
|
name: "osm"
|
||||||
|
PluginParameter {
|
||||||
|
name: "osm.useragent"
|
||||||
|
value: Application.name + "/" + Application.version + " (kde-devel@kde.org)"
|
||||||
|
}
|
||||||
|
PluginParameter {
|
||||||
|
name: "osm.mapping.providersrepository.address"
|
||||||
|
value: "https://autoconfig.kde.org/qtlocation/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MapItemView {
|
MapItemView {
|
||||||
|
|||||||
@@ -32,6 +32,14 @@ TimelineContainer {
|
|||||||
zoomLevel: 15
|
zoomLevel: 15
|
||||||
plugin: Plugin {
|
plugin: Plugin {
|
||||||
name: "osm"
|
name: "osm"
|
||||||
|
PluginParameter {
|
||||||
|
name: "osm.useragent"
|
||||||
|
value: Application.name + "/" + Application.version + " (kde-devel@kde.org)"
|
||||||
|
}
|
||||||
|
PluginParameter {
|
||||||
|
name: "osm.mapping.providersrepository.address"
|
||||||
|
value: "https://autoconfig.kde.org/qtlocation/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
MapCircle {
|
MapCircle {
|
||||||
radius: 1500 / map.zoomLevel
|
radius: 1500 / map.zoomLevel
|
||||||
|
|||||||
Reference in New Issue
Block a user