Titanium

[MOD-2352] Android: Map annotations memory leak at leftView property.

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2018-02-08T14:07:42.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsMap
Labelsn/a
Reporterhakaniemi
AssigneeUnknown
Created2017-08-21T16:08:35.000+0000
Updated2018-08-06T17:41:12.000+0000

Description

var Map = require('ti.map');
var ann = Map.createAnnotation({
	latitude:0, longitude:0, leftView:Ti.UI.createImageView({
		width:30, height:30, image:'/images/pin.png', preventDefaultImage:true
	})
});
$.mapView.addAnnotations(ann);

$.mapView.removeAnnotations(ann);
ann = null;
Memory is not released.

Comments

  1. Motiur Rahman 2017-08-22 Hello [~hknm], What is your Ti SDK version and platform (Android, iOS)? Could you please share a screenshot or error log of that issue? Thanks
  2. Hans Knöchel 2018-02-08 Marking as duplicate of MOD-2378 and fix-version 4.1.1 available on Github. Thanks!
  3. Eric Merriman 2018-08-06 Closing as a duplicate. If this is in error, please reopen.

JSON Source