Implements spatial querying toggling in map view.