loading map entities from api