Map working on page with data in local database, need to add it properly call from api