added locatisation and http errors
added add poi to map function