Add text offset function to do marker's label