Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files


Broken headline workaround
  • Loading branch information...
commit 6579d35a50a6c98c2d8d887e79909ffb1c262a79 1 parent a3772fb
@manuelbieh authored
Showing with 4 additions and 8 deletions.
  1. +4 −8
@@ -74,28 +74,24 @@ geolib.isPointInside(
); // -> true</pre>
-### isPointInCircle(object latlng, object center, integer radius)
+<h3>isPointInCircle(object latlng, object center, integer radius)</h3>
Similar to is point inside: checks whether a point is inside of a circle or not.
Returns true or false
-#### Example
<pre>// checks if 51.525, 7.4575 is within a radius of 5km from 51.5175, 7.4678
geolib.isPointInCircle({latitude: 51.525, longitude: 7.4575}, {latitude: 51.5175, longitude: 7.4678}, 5000);</pre>
-### orderByDistance(object latlng, mixed coords)
+<h3>orderByDistance(object latlng, mixed coords)</h3>
Sorts an object or array of coords by distance from a reference coordinate
Returns a sorted array [{latitude: x, longitude: y, distance: z, key: property}]
-#### Examples
// coords array
Please sign in to comment.
Something went wrong with that request. Please try again.