I'm pretty new to Javascript, but I want to create a simple app. It must show the name of the closest gas station when a button is clicked. It also must print it using document.write()
.
I have been looking at the documentation that Google has provided and I am confused about how to use rankBy.DISTANCE
routine.
Any help would be appreciated. Thanks!