sampleArea
A square polygon feature around centre, half a degree across by default, for SAMPLE_AREA_LAYER.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { sampleArea } from "@mapcairn/core";
function sampleArea(id: string, fields?: LayerFeature["fields"], centre?: readonly [number, number], half?: number): LayerFeature;
Parameters
id(string)fields?(LayerFeature["fields"])centre?(readonly [number, number])half?(number)
Returns
LayerFeature