Question: I'm working with the ti.map module on Appcelerator and cant seem to find any solution to change the image of the annotation once selected. How can this be done?

Need support for iOS and Android
Using Titanium SDK 7.2

Answer: 
Try to use custom view as annotation:

```
var myAnnotationView = Ti.UI.createView({
    backgroundImage: '/my_image.png',
});

var customAnnotation = map.createAnnotation({
   customView: myAnnotationView,
   latitude: lat,
   longitude: lon,
   title: 'My custom pin'
});

myAnnotationView.backgroundImage = '/my_image2.png';

```
Use custom View : 

```
var _costumView = Ti.UI.createView({
    backgroundImage: '/image1.png' }); 

var _annotation = map.createAnnotation({
   customView: _costumView,
   latitude: _latitude,
   longitude: _longitude
});

_costumView.backgroundImage = '/image2.png';
_annotation.customView = _costumView;

```