First, please see this picture: http://twitpic.com/2hxnqr
We can display an annotation with a red/green/purple pin. But I wonder how to display small point and point with A/B/C icon as this picture?
Thanks for your helping.
2 Answers
It's not documented yet, but you can set a custom pin image.
Set it as part of the annotation object, e.g.
Titanium.Map.createAnnotation({ latitude:0, longitude:0, title:'title', image:'images/pin.png' });You could make the A,B,C images and use them as required.
Note: Android seems to prefer pinImage instead of just image.
Thanks for your answer. I try use:
image:'images/pin.png'
but it has no effect. My annotation is still RED PIN.
Your Answer
Think you can help? Login to answer this question!