By Intersecting Polygon
Learn how to get results from intersecting polygons.
const requestBody = {
key : "your_api_key",
maps : "<category>",
polygon_geojson : featureCollection
};
fetch("https://native-land.ca/api/index.php", {
method : "POST",
body : JSON.stringify(requestBody)
}){
“type”: “FeatureCollection”,
“features”: [
{
“type”: “Feature”,
“properties”: {},
“geometry”: {
“type”: “Polygon”,
“coordinates”: [
[
[
-105.556640625,
58.17070248348609
],
[
-107.09472656249999,
57.11238500793404
],
[
-104.853515625,
56.145549500679074
],
[
-98.6572265625,
56.70450561416937
],
[
-97.55859375,
57.89149735271034
],
[
-99.8876953125,
58.49369382056807
],
[
-103.7548828125,
58.768200159239576
],
[
-105.556640625,
58.17070248348609
]
]
]
}
}
]
}Last updated