Assume that $M$ is 2-dimensional orientable closed surface in
$\mathbb{R}^3$.
(1) For $x\in (M,\rho)$, where $\rho$ is a metric in $M$, we have a
plane $P$ and a reflection $r_P$ wrt the plane $P$.
So we have a claim that $M\cap P$ is an image of geodesic path.
Proof : Assume that injectivity radius of $x$ is
$\epsilon$ and $\rho(x,y)<\varepsilon $.
If a shortest path $c$ between $x$ and $y$ is not in $M\cap P$, then $r_P(c)\neq c$
is a shortest path between $x$ and $y$. It is a contradiction.
(2) Similarly, for $x'\in M$ we have a plane $P'$.
If $M\cap P,\ M\cap P'$ do not intersect, then by using $r_P,\
r_{P'}$, there is infinite isometric copies in $M$ of $M\cap P,\
M\cap P'$ s.t. they do not intersect pairwisely. Hence $M$ has an
infinite diameter. It is a contradiction.
Hence $M\cap P,\ M\cap P'$ intersect at $x$ with an angle $t$. Here
a composition of $r_P,\ r_{P'}$ is a $2t$-rotation (M. Winter
commented).
(3) Consider another point $x''$ so that we have a plane $P''$. That
is from $M\cap P,\ M\cap P',\ M\cap P''$ we have a geodesic triangle
$\Delta$. In further, at each vertex we have rotation isometry and
at each side we have reflection isometry. From these isometries, we
consider all copies of $\Delta$ so that they cover $M$. They may
overlap.
If some two distinct copies overlap in nonzero measure, then there is a geodesic triangle $\Delta' $, which is the overlapping.
Hence we consider a cover of copies of $\Delta'$.
If any two distinct copies do not overlap in nonzero measure, then
consider another point $x'''$ so that we obtain $\Delta ''$ which has smaller area than that of
$\Delta$.
That is, $M$ has a cover of copies of a geodesic triangle $\Delta$
where area of $\Delta$ can be arbitrary small. If $x\in \Delta$, then any point $y$ in $M$ has a point $y'$ with small $
\rho(y,y')$ s.t. $x,\ y'$ has same curvature. Hence $M$ is a sphere of constant curvature.