ArcGIS Runtime SDK for Qt

ArcGIS tiled layer (URL)

Loading

Code

import QtQuick 2.6
import Esri.ArcGISRuntime 100.3

Rectangle {
    width: 800
    height: 600

    // Create the MapView
    MapView {
        anchors.fill: parent
        // Nest the Map as a child of the MapView
        Map {
            // Nest the Basemap to add it as the Map's Basemap
            Basemap {
                // Nest the ArcGISTiledLayer to add it as one of the Basemap's baseLayers
                ArcGISTiledLayer {
                    url: "http://services.arcgisonline.com/arcgis/rest/services/NatGeo_World_Map/MapServer"
                }
            }
        }
    }
}


In this topic
  1. Code