Added geojson API for a single layer