added map api
add location input