bbox-test

bbox-test ===

Usage no npm install needed!

<script type="module">
  import bboxTest from 'https://cdn.skypack.dev/bbox-test';
</script>

README

bbox-test Build Status

test if a geojson feature is inside of a bbox

usage

bboxTest(bbox, feature); returns a boolean

this map shows what it successfully gets as a hit and what it doesn't for a polygon, (green no hit ,red hit).