Hi Guys,
I can't customize pin image in a MapView filled with a collection.
View :
<Alloy> <Collection src="gc"/> <Window class="container"> <ScrollView id="AppWrapper" class="containerVertical"> <View class='verticalView' id='mapView'> <Module dataCollection="gc" id="moduleMap" module="ti.map" method="createView"/> </View> </ScrollView> </Window> </Alloy>tss :
"#moduleMap": { .... image: "images/map_marker.png", ... }Annotations are well displayed but with default pin.
I have tried :
"#moduleMap": { .... image: "map_marker.png", // and many other paths ... }or
"Annotation":{ image: "images/map_marker.png", }The image is in app/assets/images/map_marker.png
Is it a way to do it ?
Thanks