Select to view content in your preferred language

About AGSPictureMarkerSymbol could use .gif ?

642
2
10-26-2011 10:49 PM
JasonLee4
Emerging Contributor
Hi, everybody.

I have a question.

AGSPictureMarkerSymbol *pt = [AGSPictureMarkerSymbol pictureMarkerSymbolWithImageNamed:@"point.gif"];

AGSGraphic *pin = [[AGSGraphic alloc] initWithGeometry:mappoint symbol:pt attributes:nil infoTemplateDelegate:nil];

In this code, .gif after build only picture, it doesn't work.

Could you tell how use .gif. Thank you.
0 Kudos
2 Replies
PaulLohr
Frequent Contributor
Did you remember to add the gif file to your Xcode project?
0 Kudos
JasonLee4
Emerging Contributor
Did you remember to add the gif file to your Xcode project?


Thank you, i did.

My question such like this.

"I have a picture with animation of gif format but it only shows the first pic on the screen."

I couldn't let it on map is a animation.
0 Kudos