mapshader.core.render_map#
- mapshader.core.render_map(source: MapSource, xmin: Optional[float] = None, ymin: Optional[float] = None, xmax: Optional[float] = None, ymax: Optional[float] = None, x: Optional[float] = None, y: Optional[float] = None, z: Optional[float] = None, height: Optional[int] = None, width: Optional[int] = None)[source]#
Export a MapSource object to a map object.
- Parameters:
source (mapshader.sources.MapSource) – The input datasource.
xmin (float) – X-axis minimum range.
ymin (float) – Y-axis minimum range.
xmax (float) – X-axis maximum range.
ymax (float) – Y-axis maximum range.
x (float) – The coordinates to be used to get the bounds inclusive space along the axis.
y (float) – The coordinates to be used to get the bounds inclusive space along the axis.
z (float) – The coordinates to be used to get the bounds inclusive space along the axis.
height (int) – Height of the output aggregate in pixels.
width (int) – Width of the output aggregate in pixels.