Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-9731

Android: setAnnotation and setRegion functions are not working in Android

    Details

      Description

      setAnnotation and setRegion methods are not working on Android Mapview. Its working fine on iOS.
      Run the attached app.js to test the functionality.

      Steps to reproduce:
      1. Copy the app.js to a sample project.
      2. Run it on a Google API's SDK.
      3. Click on 'ann1a' and 'ann2a' buttons. Annotations wont get added to the map. ( setAnnotations() are used here).
      4. Click on 'ann1b' and 'ann2b' buttons. Annotations get added to the map view. ( addAnnotations() is used here)
      5. Same behavior is seen for setRegion and setLocation. ( setLocation works but setRegion does not)

      *Added updated test case that also tests the 'userLocation' and 'regionFit' properties.*

        Attachments

          Activity

            People

            • Assignee:
              joshroesslein Josh Roesslein
              Reporter:
              anagesh Anirudh Nagesh
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-13870
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code