Getting longtitude and latitude coordinates from the centre of a google map

Googles long/lat is degrees only and a fractional component. This script decomposed that into degrees, minutes and seconds. From there I could convert it from having seconds to having a fractional minute component, just like my GPS requires. Advertisements