Skip to content

Instantly share code, notes, and snippets.

@ColinCampbell
Forked from anonymous/gist:425956
Created June 4, 2010 21:19
Show Gist options
  • Save ColinCampbell/425958 to your computer and use it in GitHub Desktop.
Save ColinCampbell/425958 to your computer and use it in GitHub Desktop.
var stagger = 0;
var top = 25;
layer.append('<div class="markingLabel" style="width:125px;height:auto;position:absolute;left:' + Number(offset.left - 62.5) + 'px;top:' + Number(top+stagger) + 'px;color:#000000;">'+label+'</div>');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment