When user clicks on view, hitTest() returns geometry from visible polygons that are to be used in a query by location on localitiesLayer
localitiesLayer