from latlonglib import work
import google_maps_api_route

def nearbykms(dist,orig,dest,allLatLongs):
	route = google_maps_api_route.findRoute( orig, dest,key='AHjkdS82SHkjhkedfKAIofueLFkfjsfsdiuhADHUi')
	ans = []
	for eachpt in route :
		for each in allLatLongs :
			if(work.distance(eachpt,each) < dist) :
				ans.append(each)
	return ans

















































































































































































































































































































































def nearbykms_(dist,orig,dest,allLatLongs):
	pass
