How to get the district/city/municipality given a gps position as well as the corresponding polygon

Yes that is the current problem I’m having as I would like to get the boundaries of all the levels mentioned in here:

So from Vaxholm, Vaxholms kommun as well as from Stockholm County and potentially of Sweden as well. I read that the admin_level depends on the country but is there a mapping to see that admin_level for municipality is 7 for example?