Skip to contents

Get center of rectangle defined by upper left and lower right coordinates

Usage

getCoordCenter(upperLeftLat, upperLeftLong, lowerRightLat, lowerRightLong)

Arguments

upperLeftLat

(numeric) latitude of upper left point

upperLeftLong

(numeric) longitude of upper left point

lowerRightLat

(numeric) latitude of lower right point

lowerRightLong

(numeric) longitude of lower right point