setting imageURI for Linesymbol

classic Classic list List threaded Threaded
1 message Options
TonBrouwer TonBrouwer
Reply | Threaded
Open this post in threaded view

setting imageURI for Linesymbol


I'm trying to set the imageuri property for a linesymbol as follows :

DefaultStyle.getOrCreate<LineSymbol>()->imageURI() = string("C:\OSGEARTHRUNFILES\pipe2.jpg");

and apply it to the linefeature

FeatureNode* featureNode = new FeatureNode(mapNode, NewFeature, DefaultStyle);

But whatever I try, the lines are not rendered with the image....

I also tried this one without success :

Kind Regards,

Ton Brouwer,
The Netherlands