Changeset 5969 for geovis/trunk/Picker.cpp
- Timestamp:
- Jan 25, 2016, 6:28:49 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
geovis/trunk/Picker.cpp
r5961 r5969 201 201 INFO("Hit feature ID: %lu (of %d) layer: %s", feature->getFID(), index->size(), layerName.c_str()); 202 202 203 osgEarth::Symbology::Style style;204 osgEarth::Symbology::TextSymbol *ts = style.getOrCreateSymbol<osgEarth::Symbology::TextSymbol>();205 //ts->halo()->color() = osgEarth::Symbology::Color(1, 1, 1);206 //ts->halo()->width() = 2;207 ts->fill()->color() = osgEarth::Symbology::Color(0, 0, 0);208 ts->size() = 14;209 //ts->alignment() = alignment;210 ts->declutter() = false;211 //ts->encoding() = osgEarth::Symbology::TextSymbol::ENCODING_UTF8;212 203 clearSelection(); 213 204 … … 218 209 } 219 210 PlacardNode *label = 220 new PlacardNode(_renderer->getMapNode(), _pickPoint, placard, attrs , style);211 new PlacardNode(_renderer->getMapNode(), _pickPoint, placard, attrs); 221 212 label->getOrCreateStateSet()->setRenderBinDetails(INT_MAX, "RenderBin"); 222 213 _renderer->getAnnotations()->addChild(label);
Note: See TracChangeset
for help on using the changeset viewer.