Spatial queries and delete on MapItems

works on PostGIS, MongoDB, or no database