First of all: I think this problem has been studied very well (I assume in the field of surveying or navigation), but I was unable to find any information as I do not know what it is called.
EDIT: As @Rahul mentioned this is called resection problem. Wikipedia points to various methods but they usually require exact measurements and assume that you have $n=3$.
Suppose we know the exact position of a number $n \geq 3$ points (in the example below $n=4$) $P_i$ in the plane. (We can assume that those points are in some non degenerate configuration.) Furthermore we are at some unknown location $P_0$ looking in an unknown direction $\hat x_1$. Now we can observe the angles $\alpha_i$ of how much the direction we see each point deviates from our direction $\hat x_1$.
With these observations $\alpha_1,\ldots,\alpha_n$ we'd like to determine $P_0$ (as well as the direction $\hat x_1$, but that is trivial once we know $P_0$). The problem is that the angles $\alpha_i$ are affected by noise i.e. cannot be measured exactly. (We can assume that they have an e.g. normally distributed error, or whatever is convenient. )
Is there a way to "robustly" estimate $P_0$?
Is there a well known name for this problem?



Least Squares via Inscribed Angle theorem
This is an algorithm I came up with but I'm not sure whether it is actually used or how well it works. I will provide an implementation for comparision in the future.
First consider the case where we have exact measurements:
Given the angles $\beta_{ij} = \alpha_{i}-\alpha_{j}$ we can construct a circle $c_{ij}$ of all points under which the line segment defined by $P_i$ and $P_j$ is visible under the angle $\beta_{ij}$ with the inscribed angle theorem.
For example in the special case where $\beta = \pi/2$, then this circle has center $\frac{1}{2}(P_i + P_j)$ and radius $\Vert P_i - P_j \Vert /2$. (This can be explained using the Thales Theorem as a special case of the inscribed angle theorem.)
If we take a set of such circles we know that $P_0$ must be in their intersection.
Here is a diagram of two of these circles for the arbitrary case of $\beta_{12} = 45^\circ$ and $\beta_{23} = -140^\circ$.
The center and radius of circle $c_{ij}$ is fully defined by a function of $P_i$, $P_j$, and $\beta_{ij}$ (via the inscribed angle theorem). (see appendix) Similarly, $c_{jk}$ is fully defined by $P_j$, $P_k$, and $\beta_{jk}$. The intersection of $c_{ij}$ and $c_{jk}$ is thus $\{P_j, P_0\}$, so the ambiguity is resolved (just select the point that isn't $P_j$). This fails however in the degenerate case of all $P$ being on the same circle (in which case they will all yield the same redundant equation - imagine if $P_k$ in the above diagram was on the orange $c_{ij}$). In general, the intersection of two circles is determined by solving the linear system formed by subtracting their equations.
This whole process is also described here.
Let us now consider the noisy case:
In this case the $n$ circles, and the $n$ linear equations we get will not necessarily intersect in a single point, so we cannot directly solve the system of linear equations. But instead we can consider it as a least squares problem, to find a point that is close to the pairwise intersections.
Of course, this isn't optimal in any probabilistic sense with regard to the relative noises of the various bearing measurements. For example, in a practical setting, a very far away landmark might be harder to accurately determine bearing to since it is harder to see. If this is to be accounted for, note that the measurement noise will enter the equations nonlinearly (the transformation from bearings to circles via the inscribed angle theorem is nonlinear) and will require an approximation like the answer given by @jnez71.
Appendix: Construction of the circles
Case A: $\beta_{ij} \leq \pi/2$
Here the inscribed angle theorem tells us $\gamma = 2\beta_{ij}$ (in the picture $i=1, j=2$). So we can compute $M_{ij} = \frac{1}{2}(P_i + P_j)$ and therefore $\angle (M_{ij}, C, P_i) = \gamma /2$. Let $R$ be a rotation matrix of $90^\circ$ $$R = \begin{bmatrix} 0 & 1 \\ -1 & 0 \end{bmatrix}$$. Then we can write
$$C = M_{ij} + t R \frac{(P_j - P_i)}{\Vert P_j - P_i \Vert}$$
where $t$ is the signed distance from $M_{ij}$ to $C$,
and then when considering the trangle $C,M_{ij},P_j$ we see that
$$\frac{t}{\Vert P_j - M_{ij} \Vert} = \tan(\pi/2 - \gamma/2)$$
which we can solve for $t$ which then yields $C$. Then the radius $r = \Vert C - P_i \Vert$ and we can easily write down the equation of the circle.
Case B: $\beta_{ij} \geq \pi/2$
Since we used $t$ as a signed distance (hence the assumption about the positive orientation), we can also apply the same formula from the first case.