Local density approximation for the almost-bosonic anyon gas