distance mapping finally working
map onmarkerclick improved