Changeset 6652


Ignore:
Timestamp:
Dec 2, 2016 1:28:49 PM (7 years ago)
Author:
ldelgass
Message:

add default placard offset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • geovis/trunk/Placard.cpp

    r6507 r6652  
    3939    ts->fill()->color() = osgEarth::Symbology::Color(0, 0, 0);
    4040    ts->size() = 14;
    41     //ts->alignment() = alignment;
     41    ts->alignment() = osgEarth::Symbology::TextSymbol::ALIGN_LEFT_BASE_LINE;
     42    ts->pixelOffset() = osg::Vec2s(20, 0);
    4243    ts->declutter() = false;
    4344    //ts->encoding() = osgEarth::Symbology::TextSymbol::ENCODING_UTF8;
Note: See TracChangeset for help on using the changeset viewer.