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

Android: Map - The user location is not shown and the map is loaded partially

    Details

      Description

      Description:
      The user location is not shown and the map is loaded partially.

      This is a regression, does not occur on 2.1.4.

      Steps:
      1. Run the following code:

      var tabGroup = Titanium.UI.createTabGroup();
      var win1 = Titanium.UI.createWindow({  
          title:'Tab 1',
          backgroundColor:'#fff'
      });
       
      var tab1 = Titanium.UI.createTab({  
          icon:'KS_nav_views.png',
          title:'Tab 1',
          window:win1
      });
      var regionSV = {latitude:37.337681,longitude:-122.038193,latitudeDelta:0.04, longitudeDelta:0.04};
       
        var mapview = Titanium.Map.createView({
          mapType: Titanium.Map.STANDARD_TYPE,
          animate:true,
          region: regionSV,
          regionFit:true,
          userLocation:true,
          visible: true,
      });
      win1.add(mapview);
       
      var win2 = Titanium.UI.createWindow({  
          title:'Tab 2',
          backgroundColor:'#fff'
      });
      var tab2 = Titanium.UI.createTab({  
          icon:'KS_nav_ui.png',
          title:'Tab 2',
          window:win2
      });
       
      var label2 = Titanium.UI.createLabel({
          color:'#999',
          text:'I am Window 2',
          font:{fontSize:20,fontFamily:'Helvetica Neue'},
          textAlign:'center',
          width:'auto'
      });
       
      win2.add(label2);
       
      tabGroup.addTab(tab1);  
      tabGroup.addTab(tab2);  
        
      // open tab group
      tabGroup.open();
      

      2. Scroll to Appcelerator Headquarters location or pinch the map

      Expected result:
      Map should be loaded and user current location should be shown

      Actual result:
      The user location is not shown and the map is loaded partially

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hpham Hieu Pham
                Reporter:
                tsmolich Tamila Smolich
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration