How to use OpenSeaMap with Qt OpenStreetMap Plugin?



  • Hi,

    i want to use OpenSeaMap on my Qt Application. I am trying to use OpenSeaMap on the new Qt5.9 example "minimal_map" but it doenst seem to be working as aspected:

    Window {
       width: 512
       height: 512
       visible: true
    
       Plugin {
           id: mapPlugin
           name: "osm" // "mapboxgl", "esri", ...
           // specify plugin parameters if necessary
            PluginParameter {
                name:"osm.mapping.custom.host"
                value:"http://t2.openseamap.org/tiles/base/"
            }
            PluginParameter {
                name:"osm.mapping.providersrepository.disable"
                value:true
            }
       }
    
       Map {
           anchors.fill: parent
           plugin: mapPlugin
           center: QtPositioning.coordinate(59.91, 10.75) // Oslo
           zoomLevel: 14
       }
    }
    

    OpenSeaMap uses OpenStreetMap as base map and shows water level, sea marks and so on.
    Any idea on how can i use this map with OpenStreetMap plugin?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.