adding (commented out) sample function for filtering layer data (for Mapbox tiles)