manfredreinart

AGSPictureMarkerSymbol rotate / angle without effect

Discussion created by manfredreinart on Dec 7, 2010
Latest reply on Sep 26, 2011 by njarecha-esristaff
Hello,

I am trying to place a PictureMarkerSymbol with a given rotation angle on to of line objects with a given slope. Objective is to place the PictureMarkerSymbol orthogonally to the axis of the line.

So far I did not manage to achieve any effect.
Setting the angle attribute of the PictureMarkerSymbol before creating a graphic based on the symbol does not have any effect.

AGSPictureMarkerSymbol *pms = [AGSPictureMarkerSymbol  pictureMarkerSymbolWithImageNamed:@"picturename.png"];
pms.angle = 45.0;

Did anyone already manage to achieve this using ArcGIS IOS SDK 1.0?

Same for SimpleMarkerSymbol

    AGSSimpleMarkerSymbol *markerSymbol = [AGSSimpleMarkerSymbol simpleMarkerSymbol];
    markerSymbol.color = [UIColor yellowColor];
    markerSymbol.size  = 17;
    markerSymbol.style = AGSSimpleMarkerSymbolStyleDiamond;

    markerSymbol.angle = (CGFloat)30.0;

Setting angle has no effect.

Best Regards
Manfred

Outcomes