added marker click event
edited location select query