How to display nearbylocation markers in googlemap


i want to show nearbylocation in google map. i have used javascript version v3 googlemap if i give type as poliitical it didnt return result as expected. if i use place search api it show the nearby area result but how could i show it on map with markers.