I'm a developer, and I'm developing an app on Google Maps. At the moment, I'm trying to draw a circle on the map.
For getting all the points I need, I'm using the following formula:
\begin{equation} y=y_c\pm\sqrt{r^2-(x-x_c)^2} \end{equation}
but I get an ellipse, not a circle.
Did I mistake the formula?
Or I need to search the error in my code?
Thanks in advance.
UPDATE I found that I have to draw an ellipse, because of the different axis scale. At the moment I can find four correct points (north, east, south, west).

The general equation of an circle is $(x-x_c)^2+(y-y_c)^2=r^2$. This can be rewritten to your equation. I think that there is a mistake in your code. In particular, check whether you don't divide of multiply $x$ by anything, that will result in an ellipse.