Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19543] Map Annotation: set pinColor, image, customView on Android

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 4.1.1
Fix Version/sn/a
ComponentsAndroid
LabelsTCSupportTriage
ReporterManuel Lehner
AssigneeUnknown
Created2014-09-24T08:50:56.000+0000
Updated2018-02-28T19:55:57.000+0000

Description

The docs for Modules.Map.Annotation should be updated with an information about this. You can't change pinColor, image and customView after the Annotation is added to the map according to this comment: https://github.com/appcelerator-modules/ti.map/blob/stable/android/src/ti/map/AnnotationProxy.java#L190 Q&A: http://developer.appcelerator.com/question/177904/timap-annotationsetpincolor-on-android-is-not-working

Comments

  1. Hans Knöchel 2016-08-11

    Hey [~manuellehner], I'd like to schedule this ticket and I remember that I already added at least the "image" property in latest versions of ti.map Android already. Along with that, using a customView can be achieved by using myView.toImage() and pass the result (tested). Finally, I'm sure Google offers a way to set the pin-color, so we would look into that one if you can confirm. Thanks!

JSON Source