Allow longitude, latitude to be provided as floats

This makes them match how we provide other values.