tidev / ti.map

Use native Apple Maps & Google Maps in iOS and Android with Axway Titanium
Other
49 stars 129 forks source link

Feature request: Tinting annotation images (will pay) #155

Closed bitfabrikken closed 8 years ago

bitfabrikken commented 8 years ago

Hi, I'd really like to see a new feature where it's possible to supply a tint colour when you create an annotation with a custom image - on both iOS and Android.

If I find someone to do this, I will of course release it here as a pull request.

Anyone up for the challenge, or anyone also interested in this feature?

hansemannn commented 8 years ago

Hey there! Are there native API's for that? From what I know, we support:

But that should get you started. Since it's no map-specific, I think both iOS and Android won't supply that options. Thanks!

m1ga commented 8 years ago

Tinting for Android buttons: https://github.com/appcelerator/titanium_mobile/pull/7924

hansemannn commented 8 years ago

@bitfabrikken are you fine with this solutions? Since it's a general thing, it can only be added in the annotation source (button / image / view) itself.

hansemannn commented 8 years ago

Closing for now, because the tinting is not part of the ti.map module and can be achieved using the above solutions. Thanks guys! 🚀