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

Android: Map module crashes when trying to exit the app

    Details

      Description

      Build map v2 against latest master, run this code on latest master:

      var MapModule = require("ti.map");
      var win = Titanium.UI.createWindow({
          backgroundColor : "white"
      });
       
      var mapContainer = Ti.UI.createView({
          id : 'mapContainer',
          top : "50%",
          width : "95%",
          bottom : "15dip",
          visible : true,
          layout : "vertical",
          backgroundImage : "/images/map_bg.png"
      });
      win.add(mapContainer);
       
      var mapview = MapModule.createView({
          mapType : MapModule.NORMAL_TYPE,
          region : {
              latitude : 33.74511,
              longitude : -84.38993,
              latitudeDelta : 0.01,
              longitudeDelta : 0.01
          },
          animate : true,
          regionFit : true,
          userLocation : true,
          top : "5dip",
          bottom : "10dp",
          width : "98%",
      });
       
      mapContainer.add(mapview);
      win.open();
      

      1. hit the back button, observe crash

        Attachments

          Activity

            People

            • Assignee:
              hpham Hieu Pham
              Reporter:
              hpham Hieu Pham
              Reviewer:
              Ping Wang
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code