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

No way to find a map's location if it isn't changed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android
    • Labels:

      Description

      {html}<div><p>MapView.region and MapView.location seem to be write-only
      variables, so I can't get the location from them. Listening for the
      regionChanged event, that only fires after the region is changed,
      so if the user leaves the map where it is I can't use that
      either.</p>
      <p>At the moment I'm having to wrap the setLocation call so that it
      saves the location to a variable within my app and then calls
      setLocation on the app, then the regionChanged event updates that
      variable, then getLocation returns that variable, but that seems
      messy when the map object could have getLocation built in...</p></div>{html}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ngupta Neeraj Gupta
                Reporter:
                shish Shish
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code