Add an image layer: uri (a URL, URL template or file) of a source
kind (LAYER_*; default LAYER_TMS). Layers added later are drawn on top.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(TerrainBody), | intent(inout) | :: | self | |||
| character(len=*), | intent(in) | :: | uri |
a URL, URL template or file |
||
| integer, | intent(in), | optional | :: | source |
a LAYER_* constant (default LAYER_TMS) |
subroutine add_image_layer(self, uri, source) class(TerrainBody), intent(inout) :: self character(len=*), intent(in) :: uri !! a URL, URL template or file integer, intent(in), optional :: source !! a LAYER_* constant (default LAYER_TMS) type(MapLayer) :: layer layer%uri = uri if (present(source)) layer%source = source call add_layer(self, layer) end subroutine add_image_layer