[TIMOB-12583] Android: Maps V2 module: Adding custom views in the pin
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-03-20T21:20:21.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | 2013 Sprint 06 API, 2013 Sprint 06, Co-3.1.0 |
Components | Android |
Labels | api, module_googlemapv2, module_map, qe-testadded |
Reporter | Mauro Parra-Miranda |
Assignee | Ping Wang |
Created | 2013-02-05T02:18:22.000+0000 |
Updated | 2014-08-19T13:55:43.000+0000 |
Description
Feature Description
Customer wants to be able to use any view in as the custom pin instead of having to convert the view into a blob.Extra info
Customer have the feeling that this will do the entire process more efficient (memory and time wise) and easy (to code).Attachments
File | Date | Size |
---|---|---|
pin.jpg | 2013-02-05T02:20:39.000+0000 | 94015 |
This is the kind of custom pins that the customer wants to add.
Can be fixed on Android Maps v2
1. PR https://github.com/appcelerator/titanium_mobile/pull/3982 fixes a bug in the toImage() method. Test case:
For FR, please run the above test case. Should see a label with the text "$400k" and with the red background color. 2. PR https://github.com/appcelerator/titanium_modules/pull/92 Test case:
Test case #1 above added to map_module, test case #2 to mapv2 module test apps.
Hi, apparently the customView property is not yet supported on Android. https://github.com/appcelerator/titanium_mobile/blob/58198c641d77e17d156431666e80bae732b5c130/apidoc/Titanium/Map/Annotation.yml#L87 Am I wrong? Is there an alternative? Thanks in advance for your answer.