def METHOD_NAME(self,
                window: Optional[Box] = None,
                to_map_coords: bool = False) -> dict:
    """Return transformed GeoJSON.
    This makes the following transformations to the raw geojson:
    - converts to pixels coords (by default)
    - removes empty features
    - splits apart multi-geoms and geom collections into single geometries
    - buffers lines and points into Polygons
    Additionally, the transformations specified by all the
    VectorTransformers in vector_transformers are also applied.
    Args:
        window (Optional[Box]): If specified, return only the features that
            intersect with this window; otherwise, return all features.
            Defaults to None.
        to_map_coords (bool): If true, will return GeoJSON in map
            coordinates.
    Returns:
        dict in GeoJSON format
    """
    if self._geojson is not None:
        return self._geojson
    geojson = self._get_geojson()
    geojson = sanitize_geojson(
        geojson, self.crs_transformer, to_map_coords=to_map_coords)
    if self._bbox is not None:
        geojson = filter_geojson_to_window(geojson, self.bbox)
    for tf in self.vector_transformers:
        geojson = tf(geojson, crs_transformer=self.crs_transformer)
    self._geojson = geojson
    if window is not None:
        return filter_geojson_to_window(geojson, window)
    return geojson