Added support for spatial bounding box indexes

It may be desirable to use a bounding box index when plotting shapes on a map/viewport, as it can be significantly faster at both indexing and querying than a prefix tree index.