Map Markers by Type

I’m building an app that displays map markers based on an area or a specific individual location.

For example -
The user can search for restaurants near new york by typing in “New York”
OR
The user can search for a specific restaurant in New York. by typing in “Carbone”

The map and search input should cater to displaying either scenario.

Two questions -

  1. How can I set the map and search input to cater to both search types
  2. I don’t have geographical addresses, just lat and longitude values. How can I plot markers based on the map via these?

Thanks !