Simple code to add marker and center map based on position