# YM4R Add label to top of marker

**URL:** <https://www.ruby-forum.com/t/ym4r-add-label-to-top-of-marker/144776>\
**Category:** Rails\
**Created:** [August 1, 2008, 11:22pm UTC](https://www.ruby-forum.com/t/ym4r-add-label-to-top-of-marker/144776 "2008-08-01T23:22:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnnybutler7](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/8491ac/32.png) [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Post date:** [August 1, 2008, 11:22pm UTC](https://www.ruby-forum.com/t/ym4r-add-label-to-top-of-marker/144776/1 "2008-08-01T23:22:12Z")

</div>

Hi,

Does anyone know how to add a label to the top of a marker. For example  
if i have 5 reults for locations and i have them numbered 1-5 then a  
number on the top of each marker so its clear which marker belongs to  
which location.

Ive read through the ruby docs and googled but cant find any info or  
examples on this, is it even possible, i think i seen something like  
this before.

JB
