MapLayer Derived Type

type, private :: MapLayer

A map layer as given (applied when the map is made).


Inherited by

type~~maplayer~~InheritedByGraph type~maplayer MapLayer type~terrainbody TerrainBody type~terrainbody->type~maplayer layers

Components

Type Visibility Attributes Name Initial
logical, public :: elevation = .false.

(true: an elevation layer; false: an image layer)

integer, public :: encoding = ELEVATION_HEIGHTS

(elevation: an ELEVATION_* constant)

integer, public :: source = LAYER_TMS

a LAYER_* constant

character(len=:), public, allocatable :: uri

URL, URL template or file


Source Code

    type :: MapLayer
        logical :: elevation = .false.                  !! (true: an elevation layer; false: an image layer)
        integer :: source = LAYER_TMS                   !! a LAYER_* constant
        integer :: encoding = ELEVATION_HEIGHTS         !! (elevation: an ELEVATION_* constant)
        character(len=:), allocatable :: uri            !! URL, URL template or file
    end type MapLayer