45 lines
911 B
JSON
45 lines
911 B
JSON
{
|
|
"expression": ["within", {
|
|
"type": "Polygon",
|
|
"coordinates": [[[0, 0], [0, 5], [5, 5], [5, 0], [0, 0]]]
|
|
}],
|
|
"inputs": [[{
|
|
"zoom": 3,
|
|
"canonicalID": {
|
|
"z": 3,
|
|
"x": 3,
|
|
"y": 3
|
|
}
|
|
}, {
|
|
"geometry": {
|
|
"type": "Point",
|
|
"coordinates": [6, 6]
|
|
}
|
|
}], [{
|
|
"zoom": 3,
|
|
"canonicalID": {
|
|
"z": 3,
|
|
"x": 3,
|
|
"y": 3
|
|
}
|
|
}, {
|
|
"geometry": {
|
|
"type": "Point",
|
|
"coordinates": [2, 2]
|
|
}
|
|
}]],
|
|
"expected": {
|
|
"compiled": {
|
|
"type": "boolean",
|
|
"isFeatureConstant": false,
|
|
"isZoomConstant": true,
|
|
"result": "success"
|
|
},
|
|
"outputs": [false, true],
|
|
"serialized": ["within", {
|
|
"coordinates": [[[0, 0], [0, 5], [5, 5], [5, 0], [0, 0]]],
|
|
"type": "Polygon"
|
|
}]
|
|
}
|
|
}
|