R/kml.background.r

Defines functions kml.background

Documented in kml.background

#' @title kml.background
#' @description unknown
#' @family abysmally documented
#' @author  unknown, \email{<unknown>@@dfo-mpo.gc.ca}
#' @export
  kml.background = function( name, colour='', href='', x='' ) {
    
    paste('
		<GroundOverlay>
			<name>', name, '</name>
			<color>', colour, '</color>
			<Icon>
				<href>', href, '</href>
				<viewBoundScale>0.75</viewBoundScale>
			</Icon>
			<gx:altitudeMode>relativeToGround</gx:altitudeMode>
			<LatLonBox>
				<north>', x[1], '</north>
				<south>', x[2], '</south>
				<east>' , x[3], '</east>
				<west>',  x[4], '</west>
			</LatLonBox>
		</GroundOverlay>', sep ='' )
    }

 
Beothuk/bio.utilities documentation built on May 5, 2019, 1:39 p.m.