Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-4509

Ti.Map error with negative delta values on the region

    Details

      Description

      Starting from SDK 5.4.0 the Ti.Map module doesn't longer accept delta values on the region with negative values.

      For example:

      {{var map = Alloy.Globals.Map.createView({
      width: Ti.UI.FILL,
      height: 200,
      mapType: Alloy.Globals.Map.NORMAL_TYPE,
      userLocation: false,
      region:

      { "latitude": 41.3135986328125, "longitude": -81.67234420776367, "latitudeDelta": 0.1386444091796875, c "longitudeDelta": -0.009083557128906253 }

      });}}

      On Android it ignores the region completely, on iOS it shows the following error:

      Invalid Region <center:+41.31359863, -81.67234802 span:+0.13864441, -0.00908356>

        Attachments

          Activity

            People

            • Assignee:
              shossain Shak Hossain
              Reporter:
              ulizama Uriel Lizama
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code