OpenStreetMapLayer QML Type

  • Esri.ArcGISRuntime
  • OpenStreetMapLayer
  • A layer that requests images from OpenStreetMap servers. More...

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 100.1
    Inherits:

    WebTiledLayer

    Properties

    Detailed Description

    OpenStreetMap (OSM) is a project to create a free, publicly editable map of the world. This layer displays map content from OpenStreetMap tile servers.

    An OpenStreetMapLayer is a preconfigured WebTiledLayer. Unlike a web tiled layer, it comes with predefined attribution and does not support identify, query, selection, or time. Performance of OSM layers is similar to web tiled layer performance. Raster tiles are read from the service as needed by the map.

    Use of OpenStreetMap's tiles is subject to their tile usage policy. Consider the following before using an OpenStreetMap layer in your app:

    • Service availability is not guaranteed. Apps with high demand may be denied access at any time.
    • There are many organizations providing OpenStreetMap tiles. Consider using one of these services (or hosting your own) if you anticipate high demand.

    See also Cancelable, LayerContent, Loadable, Layer, and https://developers.arcgis.com/qt/qml/sample-code/openstreetmap-layer/.

    Property Documentation

    attribution : string

    The attribution for OpenStreetMapLayer may not be changed.

    This property is read-only for OpenStreetMapLayer. Changing the attribution will output a warning on the console and the change has no effect.


    [since Esri.ArcGISRuntime 100.2] fullExtent : Envelope

    The full extent for this layer (read-only).

    This property is populated after the layer loads.

    This property was introduced in Esri.ArcGISRuntime 100.2.


    [since Esri.ArcGISRuntime 100.2] tileInfo : TileInfo

    The tile info for this layer (read-only).

    This property is populated after the layer loads.

    This property was introduced in Esri.ArcGISRuntime 100.2.


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.