Chapter 6. EXPLORE PROXIMITY
Maps are all about proximity. What's nearby? How far is it from one location to another? This chapter will help you answer those questions with your own maps.
In some cases, you'll be using another service, such as Yahoo!'s Local Search API. In others, Mapstraction comes through with some handy functions. We'll also rely on some mathematicians far smarter than I am to help us make sense of a two-dimensional coordinate system applied to earth's three-dimensional sphere.
#36: Calculate Distance Between Two Points
In the ancient times of paper maps, determining the distance between two places on a map required using the map's ...
Get Map Scripting 101 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.