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

Map Annotations do not animate on initial drop 1.4 iOS 4

    Details

      Description

      {html}<div><p>A customer brought to our attention that with 1.4 on iOS 4
      (iphone) map annotations do not animate when they drop. The
      following code shows this. I also verified with the latest KS
      map_view.js as well.</p>
      <p>var win = Titanium.UI.currentWindow;<br></p>
      <p>// Karta</p>
      <pre>
      <code>var mapview = Titanium.Map.createView({
      mapType: Titanium.Map.STANDARD_TYPE,
      region: {latitude:41.846715, longitude:-87.9587622, latitudeDelta:0.01, longitudeDelta:0.01},
      animate:true,
      regionFit:true,
      userLocation:true,
      });

      win.add(mapview);

      for (i=0;i<=15;i++){
      var ann1 = Titanium.Map.createAnnotation({
      latitude:'41.84' + Math.floor(Math.random()*9) + '715',
      longitude:'-87.95' + Math.floor(Math.random()*9) + '7622',
      title:"Starbucks " + i,
      subtitle: Math.floor(Math.random()*9) + '' + Math.floor(Math.random()*9) + ' Main Street, Greenwood, Indiana 46143',
      pincolor:Titanium.Map.ANNOTATION_GREEN,
      animate:true,
      rightButton: Titanium.UI.iPhone.SystemButton.DISCLOSURE,
      myid: i // CUSTOM ATTRIBUTE THAT IS PASSED INTO EVENT OBJECTS
      });

      mapview.addAnnotation(ann1); //put pin on map
      }</code>
      </pre></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              blainhamon Blain Hamon
              Reporter:
              ctredway1 ctredway
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration