def geojson(self):
        """Render features as a FeatureCollection."""
        return {
            "type": "FeatureCollection",
            "features": [f.geojson(i) for i, f in self._features.items()]
        }
def geojson ( self ) : return { "type" : "FeatureCollection" , "features" : [ f . geojson ( i ) for i , f in self . _features . items ( ) ] }
Render features as a FeatureCollection.