ArcGIS Runtime SDK for Qt

OpenStreetMap layer

Loading

Code

import QtQuick 2.6
import Esri.ArcGISRuntime 100.3

Rectangle {
    id: rootRectangle
    clip: true
    width: 800
    height: 600

    MapView {
        id: mapView
        anchors.fill: parent

        Map {
            // Declare the OpenStreetMap layer Basemap
            BasemapOpenStreetMap {}
        }
    }
}


In this topic
  1. Code