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

Mobile Web: Titanium.Geocoder.forwardGeocoder doesn't work properly

    Details

      Description

      Ti.Geolocation.fastForward returns an object of the wrong type (structure) in the callback.

      Actual behavior:

      • evt contains only two properties: success and places.

      Expected behavior:

      Tested in the web browser of Android 2.3.7.

      Code example:

      var addr = "2065 Hamilton Avenue San Jose California 95125";
      Titanium.Geolocation.forwardGeocoder(addr,function(evt)
      {
      	for (var i in evt) {
      		console.log("i = " + i + ",    evt[i] = " + evt[i]);
      	}
      }
      

      Actual printout:

      i = success,    evt[i] = true
      i = places,    evt[i] = [object Object]

        Attachments

          Activity

            People

            • Assignee:
              bhughes Bryan Hughes
              Reporter:
              roman.kamenetsky Roman Kamenetsky
              Reviewer:
              Chris Barber
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration