make layers and radius search button 'work'