Scramble latitude longitude coordinates within 100m radius with Javascript
<p>Title says it all, I need to scramble lat/lon coordinates within 100m radius for privacy reasons. I'm just horrible at maths and can't figure out how to convert 100m to lat/lon...</p>

<p>Eg I would have a location like:</p>

<pre><code>lat: 52.5037086
lng: 13.434223100000054
</code></pre>

<p>Need to scramble this within 100m radius randomly, ie the furthest the generated coordinates can be from the original coordinates in any direction is 100m.</p>

<p>I've seen this formula around:</p>

<pre><code>d = acos( sin(φ1)⋅sin(φ2) + cos(φ1)⋅cos(φ2)⋅cos(Δλ) ) ⋅ R

where:  
    φ = latitude, λ = longitude
    R = radius of earth
    d = distance between the points
</code></pre>

<p>No idea how to accomplish this in JavaScript, though. These "points" are markers within a Google Map if it makes a difference.</p>

<p>To be honest, it doesn't even need to be a circle, just random location within 100m x 100m square would work as well.</p>