# setting imageURI for Linesymbol

4 messages
Open this post in threaded view
|

## setting imageURI for Linesymbol

 Hi, I'm trying to set the imageuri property for a linesymbol as follows : DefaultStyle.getOrCreate()->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 : DefaultStyle.getOrCreate()->imageURI()->setLiteral("C:\OSGEARTHRUNFILES\pipe2.jpg"); Kind Regards, Ton Brouwer, The Netherlands
Open this post in threaded view
|

## Re: setting imageURI for Linesymbol

 Hi, I am also interested in doing this. Did you find a solution eventually ? Thanks, Reanu