Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to use OpenSeaMap with Qt OpenStreetMap Plugin?
Forum Updated to NodeBB v4.3 + New Features

How to use OpenSeaMap with Qt OpenStreetMap Plugin?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 851 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • michaelLM Offline
    michaelLM Offline
    michaelL
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • I Offline
      I Offline
      Ifb_hakan
      wrote on last edited by
      #2

      Hey, @michaelL did you find a solution? I got the same problem..

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved