Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13340] iOS: Allow selectAnnotation without animation

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.0.2
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterRafael Kellermann Streit
AssigneeUnknown
Created2013-02-15T09:54:05.000+0000
Updated2018-02-28T20:03:26.000+0000

Description

When you are using MapView with *animate* as *true*, all methods used in MapView uses this animate parameter, and we can't change it in some specific method. For example, if I create a MapView, like this:
var mapView = Ti.Map.createView({
  animate: true
});
This code will be animated:
mapView.selectAnnotation( someAnnotation, { animated: false } );
Would be awesome if we can remove the animation in some specific methods, like this in example and others, to refresh MapView without user perception. *It works with a little hack*
mapView.animate = false;
mapView.selectAnnotation( someAnnotation );
mapView.animate = true;

Comments

No comments

JSON Source