[OpenLayers-Users] Label Positioning

Paul Spencer pagameba at gmail.com
Tue Oct 6 14:22:07 EDT 2009


see http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Feature/Vector-js.html#OpenLayers.Feature.Vector.OpenLayers.Feature.Vector.style

fontSize - in pixels
fontFamily - name of font, i.e. Arial
fontWeight - bold or normal
fontColor - hex color
labelAlign - l, c, r for horizontal - t, m, b for vertical, ie 'rb' is  
right, bottom

Cheers

Paul

On 2009-10-06, at 1:21 PM, Nicholas Efremov-Kendall wrote:

> Hi all,
>
> I took a quick look on the lists and through the documentation and  
> through the email lists and couldn't find any documentation on how  
> to specify text-size and label-positioning. How would one go about  
> changing the text-color, position relative to a vector object, and  
> the text-size?
>
> -- 
> Nicholas Efremov-Kendall
> Fulbright Student 2009-2010, Ukraine
> nefremov at artsci.wustl.edu
> c/o Halyna Yerko
> Balzaka 92a, Kv 27
> 02232
> Kyiv, Ukraine
> (mob) +380963576524
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list