How to take 5 km points in all directions of a location, geocoding google api?
问题 Ok so i have these cords: 55.623151, 8.48215 I would like to see the geo codes 5 km from north, south, east, west from this geo location above^. How can i do this? 回答1: If you use Google Maps API v3, then you would proceed as follows: Include the Geometry library into your Web page for Spherical Computations: <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=geometry&sensor=false"> </script> Then you can compute: var point = new google.maps.LatLng(55.623151,