added the possibility to add pins to the map