finished map data api with basic search