Re-instating Ajax call to retrieve geometries.