indicate_extentο
- Maps.indicate_extent(x0, y0, x1, y1, crs=4326, npts=100, **kwargs)ο
Indicate a rectangular extent in a given crs on the map.
- Parameters:
x0 (float) β the boundaries of the shape
y0 (float) β the boundaries of the shape
y1 (float) β the boundaries of the shape
y1 β the boundaries of the shape
npts (int, optional) β The number of points used to draw the polygon-lines. (e.g. to correctly display the distortion of the extent-rectangle when it is re-projected to another coordinate-system) The default is 100.
crs (any, optional) β A coordinate-system identifier. The default is 4326 (e.g. lon/lat).
kwargs β Additional keyword-arguments passed to m.add_gdf().