An API to define areas on a map for use in determining locations